!(function (e) {
  var t = {};
  function r(n) {
    if (t[n]) return t[n].exports;
    var o = (t[n] = { i: n, l: !1, exports: {} });
    return e[n].call(o.exports, o, o.exports, r), (o.l = !0), o.exports;
  }
  (r.m = e),
    (r.c = t),
    (r.d = function (e, t, n) {
      r.o(e, t) || Object.defineProperty(e, t, { enumerable: !0, get: n });
    }),
    (r.r = function (e) {
      "undefined" !== typeof Symbol &&
        Symbol.toStringTag &&
        Object.defineProperty(e, Symbol.toStringTag, { value: "Module" }),
        Object.defineProperty(e, "__esModule", { value: !0 });
    }),
    (r.t = function (e, t) {
      if ((1 & t && (e = r(e)), 8 & t)) return e;
      if (4 & t && "object" === typeof e && e && e.__esModule) return e;
      var n = Object.create(null);
      if (
        (r.r(n),
        Object.defineProperty(n, "default", { enumerable: !0, value: e }),
        2 & t && "string" != typeof e)
      )
        for (var o in e)
          r.d(
            n,
            o,
            function (t) {
              return e[t];
            }.bind(null, o)
          );
      return n;
    }),
    (r.n = function (e) {
      var t =
        e && e.__esModule
          ? function () {
              return e.default;
            }
          : function () {
              return e;
            };
      return r.d(t, "a", t), t;
    }),
    (r.o = function (e, t) {
      return Object.prototype.hasOwnProperty.call(e, t);
    }),
    (r.p = "/"),
    r((r.s = 366));
})({
  105: function (e, t, r) {
    !(function (e) {
      "use strict";
      var t,
        r,
        n,
        o,
        a,
        i,
        c,
        u,
        s,
        l = function () {
          return (l =
            Object.assign ||
            function (e) {
              for (var t, r = 1, n = arguments.length; r < n; r++)
                for (var o in (t = arguments[r]))
                  Object.prototype.hasOwnProperty.call(t, o) && (e[o] = t[o]);
              return e;
            }).apply(this, arguments);
        };
      function d(e, t, r, n) {
        return new (r || (r = Promise))(function (o, a) {
          function i(e) {
            try {
              u(n.next(e));
            } catch (t) {
              a(t);
            }
          }
          function c(e) {
            try {
              u(n.throw(e));
            } catch (t) {
              a(t);
            }
          }
          function u(e) {
            var t;
            e.done
              ? o(e.value)
              : ((t = e.value),
                t instanceof r
                  ? t
                  : new r(function (e) {
                      e(t);
                    })).then(i, c);
          }
          u((n = n.apply(e, t || [])).next());
        });
      }
      function f(e, t) {
        var r,
          n,
          o,
          a,
          i = {
            label: 0,
            sent: function () {
              if (1 & o[0]) throw o[1];
              return o[1];
            },
            trys: [],
            ops: [],
          };
        return (
          (a = { next: c(0), throw: c(1), return: c(2) }),
          "function" === typeof Symbol &&
            (a[Symbol.iterator] = function () {
              return this;
            }),
          a
        );
        function c(c) {
          return function (u) {
            return (function (c) {
              if (r) throw new TypeError("Generator is already executing.");
              for (; a && ((a = 0), c[0] && (i = 0)), i; )
                try {
                  if (
                    ((r = 1),
                    n &&
                      (o =
                        2 & c[0]
                          ? n.return
                          : c[0]
                          ? n.throw || ((o = n.return) && o.call(n), 0)
                          : n.next) &&
                      !(o = o.call(n, c[1])).done)
                  )
                    return o;
                  switch (((n = 0), o && (c = [2 & c[0], o.value]), c[0])) {
                    case 0:
                    case 1:
                      o = c;
                      break;
                    case 4:
                      return i.label++, { value: c[1], done: !1 };
                    case 5:
                      i.label++, (n = c[1]), (c = [0]);
                      continue;
                    case 7:
                      (c = i.ops.pop()), i.trys.pop();
                      continue;
                    default:
                      if (
                        !(o = (o = i.trys).length > 0 && o[o.length - 1]) &&
                        (6 === c[0] || 2 === c[0])
                      ) {
                        i = 0;
                        continue;
                      }
                      if (3 === c[0] && (!o || (c[1] > o[0] && c[1] < o[3]))) {
                        i.label = c[1];
                        break;
                      }
                      if (6 === c[0] && i.label < o[1]) {
                        (i.label = o[1]), (o = c);
                        break;
                      }
                      if (o && i.label < o[2]) {
                        (i.label = o[2]), i.ops.push(c);
                        break;
                      }
                      o[2] && i.ops.pop(), i.trys.pop();
                      continue;
                  }
                  c = t.call(e, i);
                } catch (u) {
                  (c = [6, u]), (n = 0);
                } finally {
                  r = o = 0;
                }
              if (5 & c[0]) throw c[1];
              return { value: c[0] ? c[1] : void 0, done: !0 };
            })([c, u]);
          };
        }
      }
      function h(e) {
        var t = "function" === typeof Symbol && Symbol.iterator,
          r = t && e[t],
          n = 0;
        if (r) return r.call(e);
        if (e && "number" === typeof e.length)
          return {
            next: function () {
              return (
                e && n >= e.length && (e = void 0),
                { value: e && e[n++], done: !e }
              );
            },
          };
        throw new TypeError(
          t ? "Object is not iterable." : "Symbol.iterator is not defined."
        );
      }
      function p(e, t) {
        var r = "function" === typeof Symbol && e[Symbol.iterator];
        if (!r) return e;
        var n,
          o,
          a = r.call(e),
          i = [];
        try {
          for (; (void 0 === t || t-- > 0) && !(n = a.next()).done; )
            i.push(n.value);
        } catch (c) {
          o = { error: c };
        } finally {
          try {
            n && !n.done && (r = a.return) && r.call(a);
          } finally {
            if (o) throw o.error;
          }
        }
        return i;
      }
      function v(e, t, r) {
        if (r || 2 === arguments.length)
          for (var n, o = 0, a = t.length; o < a; o++)
            (!n && o in t) ||
              (n || (n = Array.prototype.slice.call(t, 0, o)), (n[o] = t[o]));
        return e.concat(n || Array.prototype.slice.call(t));
      }
      "function" === typeof SuppressedError && SuppressedError,
        (function (e) {
          (e.GET_DATA = "ui-bg-get-data"),
            (e.GET_DEVTOOLS_DATA = "ui-bg-get-devtools-data"),
            (e.SUBSCRIBE_TO_CHANGES = "ui-bg-subscribe-to-changes"),
            (e.UNSUBSCRIBE_FROM_CHANGES = "ui-bg-unsubscribe-from-changes"),
            (e.CHANGE_SETTINGS = "ui-bg-change-settings"),
            (e.SET_THEME = "ui-bg-set-theme"),
            (e.TOGGLE_ACTIVE_TAB = "ui-bg-toggle-active-tab"),
            (e.MARK_NEWS_AS_READ = "ui-bg-mark-news-as-read"),
            (e.MARK_NEWS_AS_DISPLAYED = "ui-bg-mark-news-as-displayed"),
            (e.LOAD_CONFIG = "ui-bg-load-config"),
            (e.APPLY_DEV_DYNAMIC_THEME_FIXES =
              "ui-bg-apply-dev-dynamic-theme-fixes"),
            (e.RESET_DEV_DYNAMIC_THEME_FIXES =
              "ui-bg-reset-dev-dynamic-theme-fixes"),
            (e.APPLY_DEV_INVERSION_FIXES = "ui-bg-apply-dev-inversion-fixes"),
            (e.RESET_DEV_INVERSION_FIXES = "ui-bg-reset-dev-inversion-fixes"),
            (e.APPLY_DEV_STATIC_THEMES = "ui-bg-apply-dev-static-themes"),
            (e.RESET_DEV_STATIC_THEMES = "ui-bg-reset-dev-static-themes"),
            (e.COLOR_SCHEME_CHANGE = "ui-bg-color-scheme-change"),
            (e.HIDE_HIGHLIGHTS = "ui-bg-hide-highlights");
        })(t || (t = {})),
        (function (e) {
          e.CHANGES = "bg-ui-changes";
        })(r || (r = {})),
        (function (e) {
          (e.CSS_UPDATE = "debug-bg-ui-css-update"),
            (e.UPDATE = "debug-bg-ui-update");
        })(n || (n = {})),
        (function (e) {
          (e.ADD_CSS_FILTER = "bg-cs-add-css-filter"),
            (e.ADD_DYNAMIC_THEME = "bg-cs-add-dynamic-theme"),
            (e.ADD_STATIC_THEME = "bg-cs-add-static-theme"),
            (e.ADD_SVG_FILTER = "bg-cs-add-svg-filter"),
            (e.CLEAN_UP = "bg-cs-clean-up"),
            (e.FETCH_RESPONSE = "bg-cs-fetch-response"),
            (e.UNSUPPORTED_SENDER = "bg-cs-unsupported-sender");
        })(o || (o = {})),
        (function (e) {
          e.RELOAD = "debug-bg-cs-reload";
        })(a || (a = {})),
        (function (e) {
          (e.COLOR_SCHEME_CHANGE = "cs-bg-color-scheme-change"),
            (e.DARK_THEME_DETECTED = "cs-bg-dark-theme-detected"),
            (e.DARK_THEME_NOT_DETECTED = "cs-bg-dark-theme-not-detected"),
            (e.FETCH = "cs-bg-fetch"),
            (e.DOCUMENT_CONNECT = "cs-bg-document-connect"),
            (e.DOCUMENT_FORGET = "cs-bg-document-forget"),
            (e.DOCUMENT_FREEZE = "cs-bg-document-freeze"),
            (e.DOCUMENT_RESUME = "cs-bg-document-resume");
        })(i || (i = {})),
        (function (e) {
          e.LOG = "debug-cs-bg-log";
        })(c || (c = {})),
        (function (e) {
          e.EXPORT_CSS_RESPONSE = "cs-ui-export-css-response";
        })(u || (u = {})),
        (function (e) {
          e.EXPORT_CSS = "ui-cs-export-css";
        })(s || (s = {}));
      var g = "undefined" !== typeof navigator,
        m = g
          ? navigator.userAgentData &&
            Array.isArray(navigator.userAgentData.brands)
            ? navigator.userAgentData.brands
                .map(function (e) {
                  return ""
                    .concat(e.brand.toLowerCase(), " ")
                    .concat(e.version);
                })
                .join(" ")
            : navigator.userAgent.toLowerCase()
          : "some useragent",
        b = g
          ? navigator.userAgentData &&
            "string" === typeof navigator.userAgentData.platform
            ? navigator.userAgentData.platform.toLowerCase()
            : navigator.platform.toLowerCase()
          : "some platform",
        y = m.includes("chrome") || m.includes("chromium"),
        w =
          m.includes("firefox") ||
          m.includes("thunderbird") ||
          m.includes("librewolf"),
        _ = m.includes("safari") && !y,
        k = b.startsWith("win"),
        E = b.startsWith("mac");
      g && navigator.userAgentData
        ? navigator.userAgentData.mobile
        : m.includes("mobile");
      var S = "function" === typeof ShadowRoot,
        x =
          "function" === typeof MediaQueryList &&
          "function" === typeof MediaQueryList.prototype.addEventListener;
      (function () {
        var e = m.match(/chrom(?:e|ium)(?:\/| )([^ ]+)/);
        e && e[1] && e[1];
      })(),
        (function () {
          var e = m.match(/(?:firefox|librewolf)(?:\/| )([^ ]+)/);
          e && e[1] && e[1];
        })();
      var C = (function () {
          try {
            return document.querySelector(":defined"), !0;
          } catch (e) {
            return !1;
          }
        })(),
        O = (function () {
          try {
            if ("undefined" === typeof document) return !1;
            var e = document.createElement("div");
            return (
              !(!e || "object" !== typeof e.style) &&
              ("string" === typeof e.style.colorScheme ||
                (e.setAttribute("style", "color-scheme: dark"),
                "dark" === e.style.colorScheme))
            );
          } catch (t) {
            return !1;
          }
        })();
      function T(e, t, r) {
        return d(this, void 0, void 0, function () {
          var n;
          return f(this, function (o) {
            switch (o.label) {
              case 0:
                return [
                  4,
                  fetch(e, {
                    cache: "force-cache",
                    credentials: "omit",
                    referrer: r,
                  }),
                ];
              case 1:
                if (
                  ((n = o.sent()),
                  w &&
                    "text/css" === t &&
                    e.startsWith("moz-extension://") &&
                    e.endsWith(".css"))
                )
                  return [2, n];
                if (t && !n.headers.get("Content-Type").startsWith(t))
                  throw new Error("Mime type mismatch when loading ".concat(e));
                if (!n.ok)
                  throw new Error(
                    "Unable to load "
                      .concat(e, " ")
                      .concat(n.status, " ")
                      .concat(n.statusText)
                  );
                return [2, n];
            }
          });
        });
      }
      function A(e, t) {
        return d(this, void 0, void 0, function () {
          return f(this, function (r) {
            switch (r.label) {
              case 0:
                return [4, T(e, t)];
              case 1:
                return [4, L(r.sent())];
              case 2:
                return [2, r.sent()];
            }
          });
        });
      }
      function L(e) {
        return d(this, void 0, void 0, function () {
          var t;
          return f(this, function (r) {
            switch (r.label) {
              case 0:
                return [4, e.blob()];
              case 1:
                return (
                  (t = r.sent()),
                  [
                    4,
                    new Promise(function (e) {
                      var r = new FileReader();
                      (r.onloadend = function () {
                        return e(r.result);
                      }),
                        r.readAsDataURL(t);
                    }),
                  ]
                );
              case 2:
                return [2, r.sent()];
            }
          });
        });
      }
      var R = function (e) {
          return d(void 0, void 0, void 0, function () {
            return f(this, function (t) {
              return [
                2,
                Promise.reject(
                  new Error(
                    [
                      "Embedded Dark Reader cannot access a cross-origin resource",
                      e,
                      "Overview your URLs and CORS policies or use",
                      "`DarkReader.setFetchMethod(fetch: (url) => Promise<Response>))`.",
                      "See if using `DarkReader.setFetchMethod(window.fetch)`",
                      "before `DarkReader.enable()` works.",
                    ].join(" ")
                  )
                ),
              ];
            });
          });
        },
        V = R;
      function j(e) {
        return d(this, void 0, void 0, function () {
          return f(this, function (t) {
            switch (t.label) {
              case 0:
                return [4, V(e)];
              case 1:
                return [2, t.sent()];
            }
          });
        });
      }
      window.chrome || (window.chrome = {}),
        chrome.runtime || (chrome.runtime = {});
      var M,
        P,
        N = new Set();
      function D() {
        for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
        return d(this, void 0, void 0, function () {
          var t, r, n, a, c, u, s;
          return f(this, function (l) {
            switch (l.label) {
              case 0:
                if (!e[0] || e[0].type !== i.FETCH) return [3, 8];
                (t = e[0].id), (l.label = 1);
              case 1:
                return (
                  l.trys.push([1, 7, , 8]),
                  (r = e[0].data),
                  (n = r.url),
                  (a = r.responseType),
                  [4, j(n)]
                );
              case 2:
                return (c = l.sent()), "data-url" !== a ? [3, 4] : [4, L(c)];
              case 3:
                return (u = l.sent()), [3, 6];
              case 4:
                return [4, c.text()];
              case 5:
                (u = l.sent()), (l.label = 6);
              case 6:
                return (
                  N.forEach(function (e) {
                    return e({
                      type: o.FETCH_RESPONSE,
                      data: u,
                      error: null,
                      id: t,
                    });
                  }),
                  [3, 8]
                );
              case 7:
                return (
                  (s = l.sent()),
                  console.error(s),
                  N.forEach(function (e) {
                    return e({
                      type: o.FETCH_RESPONSE,
                      data: null,
                      error: s,
                      id: t,
                    });
                  }),
                  [3, 8]
                );
              case 8:
                return [2];
            }
          });
        });
      }
      function I(e) {
        N.add(e);
      }
      if ("function" === typeof chrome.runtime.sendMessage) {
        var F = chrome.runtime.sendMessage;
        chrome.runtime.sendMessage = function () {
          for (var e = [], t = 0; t < arguments.length; t++)
            e[t] = arguments[t];
          D.apply(void 0, v([], p(e), !1)), F.apply(chrome.runtime, e);
        };
      } else chrome.runtime.sendMessage = D;
      if (
        (chrome.runtime.onMessage || (chrome.runtime.onMessage = {}),
        "function" === typeof chrome.runtime.onMessage.addListener)
      ) {
        var B = chrome.runtime.onMessage.addListener;
        chrome.runtime.onMessage.addListener = function () {
          for (var e = [], t = 0; t < arguments.length; t++)
            e[t] = arguments[t];
          I(e[0]), B.apply(chrome.runtime.onMessage, e);
        };
      } else
        chrome.runtime.onMessage.addListener = function () {
          for (var e = [], t = 0; t < arguments.length; t++)
            e[t] = arguments[t];
          return I(e[0]);
        };
      (function (e) {
        (e.cssFilter = "cssFilter"),
          (e.svgFilter = "svgFilter"),
          (e.staticTheme = "staticTheme"),
          (e.dynamicTheme = "dynamicTheme");
      })(M || (M = {})),
        (function (e) {
          (e.NONE = ""),
            (e.TIME = "time"),
            (e.SYSTEM = "system"),
            (e.LOCATION = "location");
        })(P || (P = {}));
      var q = { background: "#181a1b", text: "#e8e6e3" },
        W = { background: "#dcdad7", text: "#181a1b" },
        G = {
          mode: 1,
          brightness: 100,
          contrast: 100,
          grayscale: 0,
          sepia: 0,
          useFont: !1,
          fontFamily: E ? "Helvetica Neue" : k ? "Segoe UI" : "Open Sans",
          textStroke: 0,
          engine: M.dynamicTheme,
          stylesheet: "",
          darkSchemeBackgroundColor: q.background,
          darkSchemeTextColor: q.text,
          lightSchemeBackgroundColor: W.background,
          lightSchemeTextColor: W.text,
          scrollbarColor: E ? "" : "auto",
          selectionColor: "auto",
          styleSystemControls: !O,
          lightColorScheme: "Default",
          darkColorScheme: "Default",
          immediateModify: !1,
        };
      function U(e, t) {
        var r, n;
        if (
          (function (e) {
            return null != e.length;
          })(e)
        )
          for (var o = 0, a = e.length; o < a; o++) t(e[o]);
        else
          try {
            for (var i = h(e), c = i.next(); !c.done; c = i.next()) t(c.value);
          } catch (u) {
            r = { error: u };
          } finally {
            try {
              c && !c.done && (n = i.return) && n.call(i);
            } finally {
              if (r) throw r.error;
            }
          }
      }
      function H(e, t) {
        U(t, function (t) {
          return e.push(t);
        });
      }
      function $(e) {
        var t,
          r = !1,
          n = null;
        return Object.assign(
          function () {
            for (var o = [], a = 0; a < arguments.length; a++)
              o[a] = arguments[a];
            (t = o),
              n
                ? (r = !0)
                : (e.apply(void 0, v([], p(t), !1)),
                  (n = requestAnimationFrame(function () {
                    (n = null),
                      r && (e.apply(void 0, v([], p(t), !1)), (r = !1));
                  })));
          },
          {
            cancel: function () {
              cancelAnimationFrame(n), (r = !1), (n = null);
            },
          }
        );
      }
      function K(e) {
        var t = 0;
        return (
          e.seconds && (t += 1e3 * e.seconds),
          e.minutes && (t += 60 * e.minutes * 1e3),
          e.hours && (t += 60 * e.hours * 60 * 1e3),
          e.days && (t += 24 * e.days * 60 * 60 * 1e3),
          t
        );
      }
      function z(e) {
        e && e.parentNode && e.parentNode.removeChild(e);
      }
      function Q(e, t, r) {
        void 0 === r && (r = Function.prototype);
        var n = K({ seconds: 2 }),
          o = K({ seconds: 10 }),
          a = e.previousSibling,
          i = e.parentNode;
        if (!i)
          throw new Error(
            "Unable to watch for node position: parent element not found"
          );
        if ("prev-sibling" === t && !a)
          throw new Error(
            "Unable to watch for node position: there is no previous sibling"
          );
        var c = 0,
          u = null,
          s = null,
          l = $(function () {
            if (!s) {
              c++;
              var f = Date.now();
              if (null == u) u = f;
              else if (c >= 10) {
                if (f - u < o)
                  return void (s = setTimeout(function () {
                    (u = null), (c = 0), (s = null), l();
                  }, n));
                (u = f), (c = 1);
              }
              if ("head" === t && a && a.parentNode !== i) h();
              else {
                if ("prev-sibling" === t) {
                  if (null == a.parentNode) return void h();
                  a.parentNode !== i && p(a.parentNode);
                }
                "head" !== t || i.isConnected || (i = document.head),
                  i.insertBefore(
                    e,
                    a && a.isConnected ? a.nextSibling : i.firstChild
                  ),
                  d.takeRecords(),
                  r && r();
              }
            }
          }),
          d = new MutationObserver(function () {
            (("head" === t &&
              (e.parentNode !== i || !e.parentNode.isConnected)) ||
              ("prev-sibling" === t && e.previousSibling !== a)) &&
              l();
          }),
          f = function () {
            d.observe(i, { childList: !0 });
          },
          h = function () {
            clearTimeout(s), d.disconnect(), l.cancel();
          },
          p = function (e) {
            (i = e), h(), f();
          };
        return (
          f(),
          {
            run: f,
            stop: h,
            skip: function () {
              d.takeRecords();
            },
          }
        );
      }
      function Y(e, t) {
        if (null != e)
          for (
            var r = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
                acceptNode: function (e) {
                  return null == e.shadowRoot
                    ? NodeFilter.FILTER_SKIP
                    : NodeFilter.FILTER_ACCEPT;
                },
              }),
              n = e.shadowRoot ? r.currentNode : r.nextNode();
            null != n;
            n = r.nextNode()
          )
            n.classList.contains("surfingkeys_hints_host") ||
              (t(n), Y(n.shadowRoot, t));
      }
      P.NONE;
      var X = function () {
          return (
            "complete" === document.readyState ||
            "interactive" === document.readyState
          );
        },
        J = new Set();
      function Z(e) {
        X() ? e() : J.add(e);
      }
      function ee(e) {
        J.delete(e);
      }
      function te() {
        return "complete" === document.readyState;
      }
      var re = new Set();
      function ne(e) {
        te() ? e() : re.add(e);
      }
      X() ||
        document.addEventListener("readystatechange", function e() {
          X() &&
            (J.forEach(function (e) {
              return e();
            }),
            J.clear(),
            te() &&
              (document.removeEventListener("readystatechange", e),
              re.forEach(function (e) {
                return e();
              }),
              re.clear()));
        });
      var oe,
        ae = new Map(),
        ie = new WeakMap();
      function ce(e, t) {
        var r, n, o;
        if (ae.has(e)) (r = ae.get(e)), (n = ie.get(r));
        else {
          var a = !1,
            i = !1;
          (r = new MutationObserver(function (t) {
            if (
              (function (e) {
                if (e.length > 1e3) return !0;
                for (var t = 0, r = 0; r < e.length; r++)
                  if ((t += e[r].addedNodes.length) > 1e3) return !0;
                return !1;
              })(t)
            )
              !a || X()
                ? n.forEach(function (t) {
                    return (0, t.onHugeMutations)(e);
                  })
                : i ||
                  (Z(
                    (o = function () {
                      return n.forEach(function (t) {
                        return (0, t.onHugeMutations)(e);
                      });
                    })
                  ),
                  (i = !0)),
                (a = !0);
            else {
              var r = (function (e) {
                var t = new Set(),
                  r = new Set(),
                  n = new Set();
                e.forEach(function (e) {
                  U(e.addedNodes, function (e) {
                    e instanceof Element && e.isConnected && t.add(e);
                  }),
                    U(e.removedNodes, function (e) {
                      e instanceof Element &&
                        (e.isConnected ? (n.add(e), t.delete(e)) : r.add(e));
                    });
                });
                var o = [],
                  a = [];
                return (
                  t.forEach(function (e) {
                    t.has(e.parentElement) && o.push(e);
                  }),
                  r.forEach(function (e) {
                    r.has(e.parentElement) && a.push(e);
                  }),
                  o.forEach(function (e) {
                    return t.delete(e);
                  }),
                  a.forEach(function (e) {
                    return r.delete(e);
                  }),
                  { additions: t, moves: n, deletions: r }
                );
              })(t);
              n.forEach(function (e) {
                return (0, e.onMinorMutations)(r);
              });
            }
          })).observe(e, { childList: !0, subtree: !0 }),
            ae.set(e, r),
            (n = new Set()),
            ie.set(r, n);
        }
        return (
          n.add(t),
          {
            disconnect: function () {
              n.delete(t),
                o && ee(o),
                0 === n.size && (r.disconnect(), ie.delete(r), ae.delete(e));
            },
          }
        );
      }
      var ue = new Map();
      function se(e) {
        return oe || (oe = document.createElement("a")), (oe.href = e), oe.href;
      }
      function le(e, t) {
        void 0 === t && (t = null);
        var r = "".concat(e).concat(t ? ";".concat(t) : "");
        if (ue.has(r)) return ue.get(r);
        if (t) {
          var n = new URL(e, se(t));
          return ue.set(r, n), n;
        }
        var o = new URL(se(e));
        return ue.set(e, o), o;
      }
      function de(e, t) {
        if (t.match(/^data\\?\:/)) return t;
        if (/^\/\//.test(t)) return "".concat(location.protocol).concat(t);
        var r = le(e);
        return le(t, r.href).href;
      }
      function fe(e, t, r) {
        U(e, function (e) {
          if (e.selectorText) t(e);
          else if (e.href)
            try {
              fe(e.styleSheet.cssRules, t, r);
            } catch (i) {
              r && r();
            }
          else if (e.media) {
            var n = Array.from(e.media),
              o = n.some(function (e) {
                return (
                  e.startsWith("screen") ||
                  e.startsWith("all") ||
                  e.startsWith("(")
                );
              }),
              a = n.some(function (e) {
                return e.startsWith("print") || e.startsWith("speech");
              });
            (!o && a) || fe(e.cssRules, t, r);
          } else
            e.conditionText &&
              CSS.supports(e.conditionText) &&
              fe(e.cssRules, t, r);
        });
      }
      var he = [
          "background",
          "border",
          "border-color",
          "border-bottom",
          "border-left",
          "border-right",
          "border-top",
          "outline",
          "outline-color",
        ],
        pe = _
          ? he.map(function (e) {
              return [e, new RegExp("".concat(e, ":\\s*(.*?)\\s*;"))];
            })
          : null;
      function ve(e, t) {
        U(e, function (r) {
          var n = e.getPropertyValue(r).trim();
          n && t(r, n);
        });
        var r = e.cssText;
        r.includes("var(") &&
          (_
            ? pe.forEach(function (e) {
                var n = p(e, 2),
                  o = n[0],
                  a = n[1],
                  i = r.match(a);
                if (i && i[1]) {
                  var c = i[1].trim();
                  t(o, c);
                }
              })
            : he.forEach(function (r) {
                var n = e.getPropertyValue(r);
                n && n.includes("var(") && t(r, n);
              }));
      }
      var ge = /url\((('.*?')|(".*?")|([^\)]*?))\)/g,
        me = /@import\s*(url\()?(('.+?')|(".+?")|([^\)]*?))\)? ?(screen)?;?/gi;
      function be(e) {
        return e
          .trim()
          .replace(/[\n\r\\]+/g, "")
          .replace(/^url\((.*)\)$/, "$1")
          .trim()
          .replace(/^"(.*)"$/, "$1")
          .replace(/^'(.*)'$/, "$1")
          .replace(/(?:\\(.))/g, "$1");
      }
      function ye(e) {
        var t = le(e);
        return ""
          .concat(t.origin)
          .concat(
            t.pathname.replace(/\?.*$/, "").replace(/(\/)([^\/]+)$/i, "$1")
          );
      }
      var we = /\/\*[\s\S]*?\*\//g;
      function _e(e) {
        return e.replace(we, "");
      }
      var ke = /@font-face\s*{[^}]*}/g;
      function Ee(e) {
        for (var t, r = [], n = [], o = 0, a = e.length; o < a; o++) {
          var i = e[o];
          if (i && " " !== i) {
            if (xe.has(i)) {
              for (var c = xe.get(i); n.length; ) {
                var u = xe.get(n[0]);
                if (!u) break;
                if (!c.lessOrEqualThan(u)) break;
                r.push(n.shift());
              }
              n.unshift(i);
            } else !t || xe.has(t) ? r.push(i) : (r[r.length - 1] += i);
            t = i;
          }
        }
        r.push.apply(r, v([], p(n), !1));
        var s = [];
        for (o = 0, a = r.length; o < a; o++)
          if ((c = xe.get(r[o]))) {
            var l = s.splice(0, 2);
            s.push(c.exec(l[1], l[0]));
          } else s.unshift(parseFloat(r[o]));
        return s[0];
      }
      var Se = (function () {
          function e(e, t) {
            (this.precendce = e), (this.execMethod = t);
          }
          return (
            (e.prototype.exec = function (e, t) {
              return this.execMethod(e, t);
            }),
            (e.prototype.lessOrEqualThan = function (e) {
              return this.precendce <= e.precendce;
            }),
            e
          );
        })(),
        xe = new Map([
          [
            "+",
            new Se(1, function (e, t) {
              return e + t;
            }),
          ],
          [
            "-",
            new Se(1, function (e, t) {
              return e - t;
            }),
          ],
          [
            "*",
            new Se(2, function (e, t) {
              return e * t;
            }),
          ],
          [
            "/",
            new Se(2, function (e, t) {
              return e / t;
            }),
          ],
        ]);
      function Ce(e, t, r) {
        void 0 === r && (r = 0);
        for (var n, o = []; (n = e.exec(t)); ) o.push(n[r]);
        return o;
      }
      function Oe(e, t) {
        void 0 === t && (t = 0);
        for (var r = e.length, n = 0, o = -1, a = t; a < r; a++)
          if (0 === n) {
            if ((i = e.indexOf("(", a)) < 0) break;
            (o = i), n++, (a = i);
          } else {
            var i,
              c = e.indexOf(")", a);
            if (c < 0) break;
            if ((i = e.indexOf("(", a)) < 0 || c < i) {
              if (0 === --n) return { start: o, end: c + 1 };
              a = c;
            } else n++, (a = i);
          }
        return null;
      }
      var Te = new Map(),
        Ae = new Map();
      function Le(e) {
        if (((e = e.trim()), Ae.has(e))) return Ae.get(e);
        e.includes("calc(") &&
          (e = (function (e) {
            for (var t, r, n, o = 0; -1 !== (o = e.indexOf("calc(")); ) {
              var a = Oe(e, o);
              if (!a) break;
              var i = e.slice(a.start + 1, a.end - 1),
                c = i.includes("%");
              i = i.split("%").join("");
              var u = Math.round(Ee(i));
              (t = a.start - 4),
                (r = a.end),
                (n = u + (c ? "%" : "")),
                (e = e.substring(0, t) + n + e.substring(r));
            }
            return e;
          })(e));
        var t = (function (e) {
          var t = e.trim().toLowerCase();
          return t.match(Ne)
            ? (function (e) {
                var t = p(Fe(e, Be, qe), 4),
                  r = t[0],
                  n = t[1],
                  o = t[2],
                  a = t[3];
                return { r: r, g: n, b: o, a: void 0 === a ? 1 : a };
              })(t)
            : t.match(De)
            ? (function (e) {
                var t = p(Fe(e, We, Ge), 4),
                  r = t[0],
                  n = t[1],
                  o = t[2],
                  a = t[3];
                return Ve({ h: r, s: n, l: o, a: void 0 === a ? 1 : a });
              })(t)
            : t.match(Ie)
            ? (function (e) {
                var t = e.substring(1);
                switch (t.length) {
                  case 3:
                  case 4:
                    var r = p(
                        [0, 1, 2].map(function (e) {
                          return parseInt("".concat(t[e]).concat(t[e]), 16);
                        }),
                        3
                      ),
                      n = r[0],
                      o = r[1],
                      a = r[2],
                      i =
                        3 === t.length
                          ? 1
                          : parseInt("".concat(t[3]).concat(t[3]), 16) / 255;
                    return { r: n, g: o, b: a, a: i };
                  case 6:
                  case 8:
                    var c = p(
                      [0, 2, 4].map(function (e) {
                        return parseInt(t.substring(e, e + 2), 16);
                      }),
                      3
                    );
                    return (
                      (n = c[0]),
                      (o = c[1]),
                      (a = c[2]),
                      (i =
                        6 === t.length
                          ? 1
                          : parseInt(t.substring(6, 8), 16) / 255),
                      { r: n, g: o, b: a, a: i }
                    );
                }
                return null;
              })(t)
            : Ue.has(t)
            ? (function (e) {
                var t = Ue.get(e);
                return {
                  r: (t >> 16) & 255,
                  g: (t >> 8) & 255,
                  b: (t >> 0) & 255,
                  a: 1,
                };
              })(t)
            : He.has(t)
            ? (function (e) {
                var t = He.get(e);
                return {
                  r: (t >> 16) & 255,
                  g: (t >> 8) & 255,
                  b: (t >> 0) & 255,
                  a: 1,
                };
              })(t)
            : "transparent" === e
            ? { r: 0, g: 0, b: 0, a: 0 }
            : null;
        })(e);
        return t && Ae.set(e, t), t;
      }
      function Re(e) {
        if (Te.has(e)) return Te.get(e);
        var t = Le(e);
        if (!t) return null;
        var r = je(t);
        return Te.set(e, r), r;
      }
      function Ve(e) {
        var t = e.h,
          r = e.s,
          n = e.l,
          o = e.a,
          a = void 0 === o ? 1 : o;
        if (0 === r) {
          var i = p(
              [n, n, n].map(function (e) {
                return Math.round(255 * e);
              }),
              3
            ),
            c = i[0],
            u = i[1];
          return { r: c, g: i[2], b: u, a: a };
        }
        var s = (1 - Math.abs(2 * n - 1)) * r,
          l = s * (1 - Math.abs(((t / 60) % 2) - 1)),
          d = n - s / 2,
          f = p(
            (t < 60
              ? [s, l, 0]
              : t < 120
              ? [l, s, 0]
              : t < 180
              ? [0, s, l]
              : t < 240
              ? [0, l, s]
              : t < 300
              ? [l, 0, s]
              : [s, 0, l]
            ).map(function (e) {
              return Math.round(255 * (e + d));
            }),
            3
          );
        return { r: f[0], g: f[1], b: f[2], a: a };
      }
      function je(e) {
        var t = e.r,
          r = e.g,
          n = e.b,
          o = e.a,
          a = void 0 === o ? 1 : o,
          i = t / 255,
          c = r / 255,
          u = n / 255,
          s = Math.max(i, c, u),
          l = Math.min(i, c, u),
          d = s - l,
          f = (s + l) / 2;
        if (0 === d) return { h: 0, s: 0, l: f, a: a };
        var h =
          60 *
          (s === i
            ? ((c - u) / d) % 6
            : s === c
            ? (u - i) / d + 2
            : (i - c) / d + 4);
        return (
          h < 0 && (h += 360),
          { h: h, s: d / (1 - Math.abs(2 * f - 1)), l: f, a: a }
        );
      }
      function Me(e, t) {
        void 0 === t && (t = 0);
        var r = e.toFixed(t);
        if (0 === t) return r;
        var n = r.indexOf(".");
        if (n >= 0) {
          var o = r.match(/0+$/);
          if (o)
            return o.index === n + 1
              ? r.substring(0, n)
              : r.substring(0, o.index);
        }
        return r;
      }
      function Pe(e) {
        var t = e.h,
          r = e.s,
          n = e.l,
          o = e.a;
        return null != o && o < 1
          ? "hsla("
              .concat(Me(t), ", ")
              .concat(Me(100 * r), "%, ")
              .concat(Me(100 * n), "%, ")
              .concat(Me(o, 2), ")")
          : "hsl("
              .concat(Me(t), ", ")
              .concat(Me(100 * r), "%, ")
              .concat(Me(100 * n), "%)");
      }
      var Ne = /^rgba?\([^\(\)]+\)$/,
        De = /^hsla?\([^\(\)]+\)$/,
        Ie = /^#[0-9a-f]+$/i;
      function Fe(e, t, r) {
        var n = (function (e) {
            var t = [],
              r = 0,
              n = !1,
              o = e.indexOf("(");
            e = e.substring(o + 1, e.length - 1);
            for (var a = 0; a < e.length; a++) {
              var i = e[a];
              (i >= "0" && i <= "9") || "." === i || "+" === i || "-" === i
                ? (n = !0)
                : !n || (" " !== i && "," !== i && "/" !== i)
                ? n || (r = a + 1)
                : (t.push(e.substring(r, a)), (n = !1), (r = a + 1));
            }
            return n && t.push(e.substring(r, e.length)), t;
          })(e),
          o = Object.entries(r);
        return n
          .map(function (e) {
            return e.trim();
          })
          .map(function (e, r) {
            var n,
              a = o.find(function (t) {
                var r = p(t, 1)[0];
                return e.endsWith(r);
              });
            return (
              (n = a
                ? (parseFloat(e.substring(0, e.length - a[0].length)) / a[1]) *
                  t[r]
                : parseFloat(e)),
              t[r] > 1 ? Math.round(n) : n
            );
          });
      }
      var Be = [255, 255, 255, 1],
        qe = { "%": 100 },
        We = [360, 1, 1, 1],
        Ge = { "%": 100, deg: 360, rad: 2 * Math.PI, turn: 1 },
        Ue = new Map(
          Object.entries({
            aliceblue: 15792383,
            antiquewhite: 16444375,
            aqua: 65535,
            aquamarine: 8388564,
            azure: 15794175,
            beige: 16119260,
            bisque: 16770244,
            black: 0,
            blanchedalmond: 16772045,
            blue: 255,
            blueviolet: 9055202,
            brown: 10824234,
            burlywood: 14596231,
            cadetblue: 6266528,
            chartreuse: 8388352,
            chocolate: 13789470,
            coral: 16744272,
            cornflowerblue: 6591981,
            cornsilk: 16775388,
            crimson: 14423100,
            cyan: 65535,
            darkblue: 139,
            darkcyan: 35723,
            darkgoldenrod: 12092939,
            darkgray: 11119017,
            darkgrey: 11119017,
            darkgreen: 25600,
            darkkhaki: 12433259,
            darkmagenta: 9109643,
            darkolivegreen: 5597999,
            darkorange: 16747520,
            darkorchid: 10040012,
            darkred: 9109504,
            darksalmon: 15308410,
            darkseagreen: 9419919,
            darkslateblue: 4734347,
            darkslategray: 3100495,
            darkslategrey: 3100495,
            darkturquoise: 52945,
            darkviolet: 9699539,
            deeppink: 16716947,
            deepskyblue: 49151,
            dimgray: 6908265,
            dimgrey: 6908265,
            dodgerblue: 2003199,
            firebrick: 11674146,
            floralwhite: 16775920,
            forestgreen: 2263842,
            fuchsia: 16711935,
            gainsboro: 14474460,
            ghostwhite: 16316671,
            gold: 16766720,
            goldenrod: 14329120,
            gray: 8421504,
            grey: 8421504,
            green: 32768,
            greenyellow: 11403055,
            honeydew: 15794160,
            hotpink: 16738740,
            indianred: 13458524,
            indigo: 4915330,
            ivory: 16777200,
            khaki: 15787660,
            lavender: 15132410,
            lavenderblush: 16773365,
            lawngreen: 8190976,
            lemonchiffon: 16775885,
            lightblue: 11393254,
            lightcoral: 15761536,
            lightcyan: 14745599,
            lightgoldenrodyellow: 16448210,
            lightgray: 13882323,
            lightgrey: 13882323,
            lightgreen: 9498256,
            lightpink: 16758465,
            lightsalmon: 16752762,
            lightseagreen: 2142890,
            lightskyblue: 8900346,
            lightslategray: 7833753,
            lightslategrey: 7833753,
            lightsteelblue: 11584734,
            lightyellow: 16777184,
            lime: 65280,
            limegreen: 3329330,
            linen: 16445670,
            magenta: 16711935,
            maroon: 8388608,
            mediumaquamarine: 6737322,
            mediumblue: 205,
            mediumorchid: 12211667,
            mediumpurple: 9662683,
            mediumseagreen: 3978097,
            mediumslateblue: 8087790,
            mediumspringgreen: 64154,
            mediumturquoise: 4772300,
            mediumvioletred: 13047173,
            midnightblue: 1644912,
            mintcream: 16121850,
            mistyrose: 16770273,
            moccasin: 16770229,
            navajowhite: 16768685,
            navy: 128,
            oldlace: 16643558,
            olive: 8421376,
            olivedrab: 7048739,
            orange: 16753920,
            orangered: 16729344,
            orchid: 14315734,
            palegoldenrod: 15657130,
            palegreen: 10025880,
            paleturquoise: 11529966,
            palevioletred: 14381203,
            papayawhip: 16773077,
            peachpuff: 16767673,
            peru: 13468991,
            pink: 16761035,
            plum: 14524637,
            powderblue: 11591910,
            purple: 8388736,
            rebeccapurple: 6697881,
            red: 16711680,
            rosybrown: 12357519,
            royalblue: 4286945,
            saddlebrown: 9127187,
            salmon: 16416882,
            sandybrown: 16032864,
            seagreen: 3050327,
            seashell: 16774638,
            sienna: 10506797,
            silver: 12632256,
            skyblue: 8900331,
            slateblue: 6970061,
            slategray: 7372944,
            slategrey: 7372944,
            snow: 16775930,
            springgreen: 65407,
            steelblue: 4620980,
            tan: 13808780,
            teal: 32896,
            thistle: 14204888,
            tomato: 16737095,
            turquoise: 4251856,
            violet: 15631086,
            wheat: 16113331,
            white: 16777215,
            whitesmoke: 16119285,
            yellow: 16776960,
            yellowgreen: 10145074,
          })
        ),
        He = new Map(
          Object.entries({
            ActiveBorder: 3906044,
            ActiveCaption: 0,
            AppWorkspace: 11184810,
            Background: 6513614,
            ButtonFace: 16777215,
            ButtonHighlight: 15329769,
            ButtonShadow: 10461343,
            ButtonText: 0,
            CaptionText: 0,
            GrayText: 8355711,
            Highlight: 11720703,
            HighlightText: 0,
            InactiveBorder: 16777215,
            InactiveCaption: 16777215,
            InactiveCaptionText: 0,
            InfoBackground: 16514245,
            InfoText: 0,
            Menu: 16185078,
            MenuText: 16777215,
            Scrollbar: 11184810,
            ThreeDDarkShadow: 0,
            ThreeDFace: 12632256,
            ThreeDHighlight: 16777215,
            ThreeDLightShadow: 16777215,
            ThreeDShadow: 0,
            Window: 15527148,
            WindowFrame: 11184810,
            WindowText: 0,
            "-webkit-focus-ring-color": 15046400,
          }).map(function (e) {
            var t = p(e, 2),
              r = t[0],
              n = t[1];
            return [r.toLowerCase(), n];
          })
        );
      function $e(e, t, r) {
        return (0.2126 * e + 0.7152 * t + 0.0722 * r) / 255;
      }
      function Ke(e, t, r, n, o) {
        return ((e - t) * (o - n)) / (r - t) + n;
      }
      function ze(e, t, r) {
        return Math.min(r, Math.max(t, e));
      }
      function Qe(e, t) {
        for (var r = [], n = 0, o = e.length; n < o; n++) {
          r[n] = [];
          for (var a = 0, i = t[0].length; a < i; a++) {
            for (var c = 0, u = 0, s = e[0].length; u < s; u++)
              c += e[n][u] * t[u][a];
            r[n][a] = c;
          }
        }
        return r;
      }
      function Ye(e) {
        var t = Xe.identity();
        return (
          0 !== e.sepia && (t = Qe(t, Xe.sepia(e.sepia / 100))),
          0 !== e.grayscale && (t = Qe(t, Xe.grayscale(e.grayscale / 100))),
          100 !== e.contrast && (t = Qe(t, Xe.contrast(e.contrast / 100))),
          100 !== e.brightness &&
            (t = Qe(t, Xe.brightness(e.brightness / 100))),
          1 === e.mode && (t = Qe(t, Xe.invertNHue())),
          t
        );
      }
      var Xe = {
        identity: function () {
          return [
            [1, 0, 0, 0, 0],
            [0, 1, 0, 0, 0],
            [0, 0, 1, 0, 0],
            [0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1],
          ];
        },
        invertNHue: function () {
          return [
            [0.333, -0.667, -0.667, 0, 1],
            [-0.667, 0.333, -0.667, 0, 1],
            [-0.667, -0.667, 0.333, 0, 1],
            [0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1],
          ];
        },
        brightness: function (e) {
          return [
            [e, 0, 0, 0, 0],
            [0, e, 0, 0, 0],
            [0, 0, e, 0, 0],
            [0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1],
          ];
        },
        contrast: function (e) {
          var t = (1 - e) / 2;
          return [
            [e, 0, 0, 0, t],
            [0, e, 0, 0, t],
            [0, 0, e, 0, t],
            [0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1],
          ];
        },
        sepia: function (e) {
          return [
            [
              0.393 + 0.607 * (1 - e),
              0.769 - 0.769 * (1 - e),
              0.189 - 0.189 * (1 - e),
              0,
              0,
            ],
            [
              0.349 - 0.349 * (1 - e),
              0.686 + 0.314 * (1 - e),
              0.168 - 0.168 * (1 - e),
              0,
              0,
            ],
            [
              0.272 - 0.272 * (1 - e),
              0.534 - 0.534 * (1 - e),
              0.131 + 0.869 * (1 - e),
              0,
              0,
            ],
            [0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1],
          ];
        },
        grayscale: function (e) {
          return [
            [
              0.2126 + 0.7874 * (1 - e),
              0.7152 - 0.7152 * (1 - e),
              0.0722 - 0.0722 * (1 - e),
              0,
              0,
            ],
            [
              0.2126 - 0.2126 * (1 - e),
              0.7152 + 0.2848 * (1 - e),
              0.0722 - 0.0722 * (1 - e),
              0,
              0,
            ],
            [
              0.2126 - 0.2126 * (1 - e),
              0.7152 - 0.7152 * (1 - e),
              0.0722 + 0.9278 * (1 - e),
              0,
              0,
            ],
            [0, 0, 0, 1, 0],
            [0, 0, 0, 0, 1],
          ];
        },
      };
      function Je(e) {
        return e[
          1 === e.mode
            ? "darkSchemeBackgroundColor"
            : "lightSchemeBackgroundColor"
        ];
      }
      function Ze(e) {
        return e[1 === e.mode ? "darkSchemeTextColor" : "lightSchemeTextColor"];
      }
      var et,
        tt = new Map(),
        rt = ["r", "g", "b", "a"],
        nt = [
          "mode",
          "brightness",
          "contrast",
          "grayscale",
          "sepia",
          "darkSchemeBackgroundColor",
          "darkSchemeTextColor",
          "lightSchemeBackgroundColor",
          "lightSchemeTextColor",
        ];
      function ot(e, t, r, n, o) {
        var a;
        tt.has(r) ? (a = tt.get(r)) : ((a = new Map()), tt.set(r, a));
        var i = (function (e, t) {
          var r = "";
          return (
            rt.forEach(function (t) {
              r += "".concat(e[t], ";");
            }),
            nt.forEach(function (e) {
              r += "".concat(t[e], ";");
            }),
            r
          );
        })(e, t);
        if (a.has(i)) return a.get(i);
        var c = Ve(
            r(je(e), null == n ? null : Re(n), null == o ? null : Re(o))
          ),
          u = c.r,
          s = c.g,
          l = c.b,
          d = c.a,
          f = p(
            (function (e, t) {
              var r = p(e, 3),
                n = Qe(t, [[r[0] / 255], [r[1] / 255], [r[2] / 255], [1], [1]]);
              return [0, 1, 2].map(function (e) {
                return ze(Math.round(255 * n[e][0]), 0, 255);
              });
            })([u, s, l], Ye(t)),
            3
          ),
          h = f[0],
          v = f[1],
          g = f[2],
          m =
            1 === d
              ? (function (e) {
                  var t = e.r,
                    r = e.g,
                    n = e.b,
                    o = e.a;
                  return "#".concat(
                    (null != o && o < 1
                      ? [t, r, n, Math.round(255 * o)]
                      : [t, r, n]
                    )
                      .map(function (e) {
                        return ""
                          .concat(e < 16 ? "0" : "")
                          .concat(e.toString(16));
                      })
                      .join("")
                  );
                })({ r: h, g: v, b: g })
              : (function (e) {
                  var t = e.r,
                    r = e.g,
                    n = e.b,
                    o = e.a;
                  return null != o && o < 1
                    ? "rgba("
                        .concat(Me(t), ", ")
                        .concat(Me(r), ", ")
                        .concat(Me(n), ", ")
                        .concat(Me(o, 2), ")")
                    : "rgb("
                        .concat(Me(t), ", ")
                        .concat(Me(r), ", ")
                        .concat(Me(n), ")");
                })({ r: h, g: v, b: g, a: d });
        return a.set(i, m), m;
      }
      function at(e) {
        return e;
      }
      function it(e, t) {
        var r = Je(t);
        return ot(e, t, ct, Ze(t), r);
      }
      function ct(e, t, r) {
        var n = e.h,
          o = e.s,
          a = e.l,
          i = e.a,
          c = a < 0.5,
          u = n,
          s = a;
        return (
          (c
            ? a < 0.2 || o < 0.12
            : o < 0.24 || (a > 0.8 && n > 200 && n < 280)) &&
            (c ? ((u = t.h), (s = t.s)) : ((u = r.h), (s = r.s))),
          { h: u, s: s, l: Ke(a, 0, 1, t.l, r.l), a: i }
        );
      }
      function ut(e, t) {
        var r = e.h,
          n = e.s,
          o = e.l,
          a = e.a,
          i = n < 0.12 || (o > 0.8 && r > 200 && r < 280);
        if (o < 0.5) {
          var c = Ke(o, 0, 0.5, 0, 0.4);
          return i
            ? { h: t.h, s: t.s, l: c, a: a }
            : { h: r, s: n, l: c, a: a };
        }
        var u = Ke(o, 0.5, 1, 0.4, t.l);
        if (i) return { h: t.h, s: t.s, l: u, a: a };
        var s = r;
        return (
          r > 60 &&
            r < 180 &&
            (s = r > 120 ? Ke(r, 120, 180, 135, 180) : Ke(r, 60, 120, 60, 105)),
          s > 40 && s < 80 && (u *= 0.75),
          { h: s, s: n, l: u, a: a }
        );
      }
      function st(e, t) {
        if (0 === t.mode) return it(e, t);
        var r = Je(t);
        return ot(e, l(l({}, t), { mode: 0 }), ut, r);
      }
      function lt(e) {
        return Ke(e, 205, 245, 205, 220);
      }
      function dt(e, t) {
        var r = e.h,
          n = e.s,
          o = e.l,
          a = e.a,
          i = o < 0.2 || n < 0.24,
          c = !i && r > 205 && r < 245;
        if (o > 0.5) {
          var u = Ke(o, 0.5, 1, 0.55, t.l);
          if (i) return { h: t.h, s: t.s, l: u, a: a };
          var s = r;
          return c && (s = lt(r)), { h: s, s: n, l: u, a: a };
        }
        if (i) return { h: t.h, s: t.s, l: Ke(o, 0, 0.5, t.l, 0.55), a: a };
        var l,
          d = r;
        return (
          c
            ? ((d = lt(r)), (l = Ke(o, 0, 0.5, t.l, Math.min(1, 0.55 + 0.05))))
            : (l = Ke(o, 0, 0.5, t.l, 0.55)),
          { h: d, s: n, l: l, a: a }
        );
      }
      function ft(e, t) {
        if (0 === t.mode) return it(e, t);
        var r = Ze(t);
        return ot(e, l(l({}, t), { mode: 0 }), dt, r);
      }
      function ht(e, t, r) {
        var n = e.h,
          o = e.s,
          a = e.l,
          i = e.a,
          c = n,
          u = o;
        return (
          (a < 0.2 || o < 0.24) &&
            (a < 0.5 ? ((c = t.h), (u = t.s)) : ((c = r.h), (u = r.s))),
          { h: c, s: u, l: Ke(a, 0, 1, 0.5, 0.2), a: i }
        );
      }
      function pt(e, t) {
        if (0 === t.mode) return it(e, t);
        var r = Ze(t),
          n = Je(t);
        return ot(e, l(l({}, t), { mode: 0 }), ht, r, n);
      }
      function vt(e, t) {
        return st(e, t);
      }
      function gt(e) {
        var t = [];
        return (
          e.mode === et.dark && t.push("invert(100%) hue-rotate(180deg)"),
          100 !== e.brightness &&
            t.push("brightness(".concat(e.brightness, "%)")),
          100 !== e.contrast && t.push("contrast(".concat(e.contrast, "%)")),
          0 !== e.grayscale && t.push("grayscale(".concat(e.grayscale, "%)")),
          0 !== e.sepia && t.push("sepia(".concat(e.sepia, "%)")),
          0 === t.length ? null : t.join(" ")
        );
      }
      function mt() {
        if ("randomUUID" in crypto) {
          var e = crypto.randomUUID();
          return (
            e.substring(0, 8) +
            e.substring(9, 13) +
            e.substring(14, 18) +
            e.substring(19, 23) +
            e.substring(24)
          );
        }
        return "getRandomValues" in crypto
          ? Array.from(crypto.getRandomValues(new Uint8Array(16)))
              .map(function (e) {
                return ((t = e) < 16 ? "0" : "") + t.toString(16);
                var t;
              })
              .join("")
          : Math.floor(Math.random() * Math.pow(2, 55)).toString(36);
      }
      !(function (e) {
        (e[(e.light = 0)] = "light"), (e[(e.dark = 1)] = "dark");
      })(et || (et = {}));
      var bt = new Map(),
        yt = new Map();
      function wt(e) {
        return d(this, void 0, void 0, function () {
          return f(this, function (t) {
            return [
              2,
              new Promise(function (t, r) {
                var n = mt();
                bt.set(n, t),
                  yt.set(n, r),
                  chrome.runtime.sendMessage({ type: i.FETCH, data: e, id: n });
              }),
            ];
          });
        });
      }
      chrome.runtime.onMessage.addListener(function (e) {
        var t = e.type,
          r = e.data,
          n = e.error,
          a = e.id;
        if (t === o.FETCH_RESPONSE) {
          var i = bt.get(a),
            c = yt.get(a);
          bt.delete(a), yt.delete(a), n ? c && c(n) : i && i(r);
        }
      });
      var _t,
        kt,
        Et = new ((function () {
          function e() {
            (this.queue = []),
              (this.timerId = null),
              (this.frameDuration = 1e3 / 60);
          }
          return (
            (e.prototype.addToQueue = function (e) {
              this.queue.push(e), this.startQueue();
            }),
            (e.prototype.stopQueue = function () {
              null !== this.timerId &&
                (cancelAnimationFrame(this.timerId), (this.timerId = null)),
                (this.queue = []);
            }),
            (e.prototype.startQueue = function () {
              var e = this;
              this.timerId ||
                (this.timerId = requestAnimationFrame(function () {
                  e.timerId = null;
                  for (var t, r = Date.now(); (t = e.queue.shift()); )
                    if ((t(), Date.now() - r >= e.frameDuration)) {
                      e.startQueue();
                      break;
                    }
                }));
            }),
            e
          );
        })())();
      function St(e) {
        return d(this, void 0, void 0, function () {
          var t = this;
          return f(this, function (r) {
            return [
              2,
              new Promise(function (r, n) {
                return d(t, void 0, void 0, function () {
                  var t, o, a, i;
                  return f(this, function (c) {
                    switch (c.label) {
                      case 0:
                        return e.startsWith("data:")
                          ? ((t = e), [3, 4])
                          : [3, 1];
                      case 1:
                        return c.trys.push([1, 3, , 4]), [4, xt(e)];
                      case 2:
                        return (t = c.sent()), [3, 4];
                      case 3:
                        return (o = c.sent()), n(o), [2];
                      case 4:
                        return c.trys.push([4, 6, , 7]), [4, Ct(t)];
                      case 5:
                        return (
                          (a = c.sent()),
                          Et.addToQueue(function () {
                            var n = (function (e) {
                              _t ||
                                (((_t =
                                  document.createElement(
                                    "canvas"
                                  )).width = 1024),
                                (_t.height = 1024),
                                ((kt = _t.getContext("2d", {
                                  willReadFrequently: !0,
                                })).imageSmoothingEnabled = !1));
                              var t = e.naturalWidth,
                                r = e.naturalHeight;
                              if (0 === r || 0 === t)
                                return (
                                  "logWarn(Image is empty ".concat(
                                    e.currentSrc,
                                    ")"
                                  ),
                                  {
                                    isDark: !1,
                                    isLight: !1,
                                    isTransparent: !1,
                                    isLarge: !1,
                                    isTooLarge: !1,
                                  }
                                );
                              if (t * r > 262144)
                                return {
                                  isDark: !1,
                                  isLight: !1,
                                  isTransparent: !1,
                                  isLarge: !0,
                                };
                              var n = t * r,
                                o = Math.min(1, Math.sqrt(1024 / n)),
                                a = Math.ceil(t * o),
                                i = Math.ceil(r * o);
                              kt.clearRect(0, 0, a, i),
                                kt.drawImage(e, 0, 0, t, r, 0, 0, a, i);
                              var c,
                                u,
                                s,
                                l,
                                d,
                                f,
                                h,
                                p = kt.getImageData(0, 0, a, i).data,
                                v = 0,
                                g = 0,
                                m = 0;
                              for (s = 0; s < i; s++)
                                for (u = 0; u < a; u++)
                                  (l = p[0 + (c = 4 * (s * a + u))]),
                                    (d = p[c + 1]),
                                    (f = p[c + 2]),
                                    p[c + 3] / 255 < 0.05
                                      ? v++
                                      : ((h = $e(l, d, f)) < 0.4 && g++,
                                        h > 0.7 && m++);
                              var b = a * i,
                                y = b - v;
                              return {
                                isDark: g / y >= 0.7,
                                isLight: m / y >= 0.7,
                                isTransparent: v / b >= 0.1,
                                isLarge: !1,
                              };
                            })(a);
                            r(
                              l(
                                {
                                  src: e,
                                  dataURL: n.isLarge ? "" : t,
                                  width: a.naturalWidth,
                                  height: a.naturalHeight,
                                },
                                n
                              )
                            );
                          }),
                          [3, 7]
                        );
                      case 6:
                        return (i = c.sent()), n(i), [3, 7];
                      case 7:
                        return [2];
                    }
                  });
                });
              }),
            ];
          });
        });
      }
      function xt(e) {
        return d(this, void 0, void 0, function () {
          return f(this, function (t) {
            switch (t.label) {
              case 0:
                return new URL(e).origin !== location.origin
                  ? [3, 2]
                  : [4, A(e)];
              case 1:
                return [2, t.sent()];
              case 2:
                return [4, wt({ url: e, responseType: "data-url" })];
              case 3:
                return [2, t.sent()];
            }
          });
        });
      }
      function Ct(e) {
        return d(this, void 0, void 0, function () {
          return f(this, function (t) {
            return [
              2,
              new Promise(function (t, r) {
                var n = new Image();
                (n.onload = function () {
                  return t(n);
                }),
                  (n.onerror = function () {
                    return r("Unable to load image ".concat(e));
                  }),
                  (n.src = e);
              }),
            ];
          });
        });
      }
      function Ot(e, t) {
        var r = e.dataURL,
          n = e.width,
          o = e.height,
          a = Ye(t)
            .slice(0, 4)
            .map(function (e) {
              return e
                .map(function (e) {
                  return e.toFixed(3);
                })
                .join(" ");
            })
            .join(" "),
          i = [
            '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'
              .concat(n, '" height="')
              .concat(o, '">'),
            "<defs>",
            '<filter id="darkreader-image-filter">',
            '<feColorMatrix type="matrix" values="'.concat(a, '" />'),
            "</filter>",
            "</defs>",
            '<image width="'
              .concat(n, '" height="')
              .concat(
                o,
                '" filter="url(#darkreader-image-filter)" xlink:href="'
              )
              .concat(r, '" />'),
            "</svg>",
          ].join("");
        return "data:image/svg+xml;base64,".concat(btoa(i));
      }
      function Tt() {
        Et && Et.stopQueue(), (_t = null), (kt = null);
      }
      var At = "gradient".length,
        Lt = "conic-",
        Rt = Lt.length,
        Vt = "radial-",
        jt = "linear-";
      function Mt(e, t) {
        return Boolean(e && e.getPropertyPriority(t));
      }
      function Pt(e, t, r, n, o, a) {
        if (e.startsWith("--")) {
          if (
            (i = (function (e, t, r, n, o, a) {
              return e.getModifierForVariable({
                varName: t,
                sourceValue: r,
                rule: n,
                ignoredImgSelectors: o,
                isCancelled: a,
              });
            })(n, e, t, r, o, a))
          )
            return {
              property: e,
              value: i,
              important: Mt(r.style, e),
              sourceValue: t,
            };
        } else if (t.includes("var(")) {
          if (
            (i = (function (e, t, r) {
              return e.getModifierForVarDependant(t, r);
            })(n, e, t))
          )
            return {
              property: e,
              value: i,
              important: Mt(r.style, e),
              sourceValue: t,
            };
        } else {
          if ("color-scheme" === e) return null;
          if (
            (e.includes("color") && "-webkit-print-color-adjust" !== e) ||
            "fill" === e ||
            "stroke" === e ||
            "stop-color" === e
          ) {
            if (
              (i = (function (e, t, r) {
                if (qt.has(t.toLowerCase())) return t;
                var n = Le(t);
                return n
                  ? e.includes("background")
                    ? (r.style.webkitMaskImage &&
                        "none" !== r.style.webkitMaskImage) ||
                      (r.style.webkitMask &&
                        !r.style.webkitMask.startsWith("none")) ||
                      (r.style.mask && "none" !== r.style.mask) ||
                      (r.style.getPropertyValue("mask-image") &&
                        "none" !== r.style.getPropertyValue("mask-image"))
                      ? function (e) {
                          return ft(n, e);
                        }
                      : function (e) {
                          return st(n, e);
                        }
                    : e.includes("border") || e.includes("outline")
                    ? function (e) {
                        return pt(n, e);
                      }
                    : function (e) {
                        return ft(n, e);
                      }
                  : null;
              })(e, t, r))
            )
              return {
                property: e,
                value: i,
                important: Mt(r.style, e),
                sourceValue: t,
              };
          } else if ("background-image" === e || "list-style-image" === e) {
            if ((i = Ut(t, r, o, a)))
              return {
                property: e,
                value: i,
                important: Mt(r.style, e),
                sourceValue: t,
              };
          } else if (e.includes("shadow")) {
            var i;
            if (
              (i = (function (e) {
                var t = Ht(e);
                return t
                  ? function (e) {
                      return t(e).result;
                    }
                  : null;
              })(t))
            )
              return {
                property: e,
                value: i,
                important: Mt(r.style, e),
                sourceValue: t,
              };
          }
        }
        return null;
      }
      function Nt() {
        for (var e = [], t = 0; t < arguments.length; t++) e[t] = arguments[t];
        return e.filter(Boolean).join(", ");
      }
      function Dt(e, t, r) {
        var n = [];
        t ||
          (n.push("html {"),
          n.push(
            "    background-color: ".concat(
              st({ r: 255, g: 255, b: 255 }, e),
              " !important;"
            )
          ),
          n.push("}")),
          O &&
            (n.push("html {"),
            n.push(
              "    color-scheme: ".concat(
                1 === e.mode ? "dark" : "dark light",
                " !important;"
              )
            ),
            n.push("}"));
        var o = Nt(
          t ? "" : "html, body",
          r ? "input, textarea, select, button, dialog" : ""
        );
        return (
          o &&
            (n.push("".concat(o, " {")),
            n.push(
              "    background-color: ".concat(
                st({ r: 255, g: 255, b: 255 }, e),
                ";"
              )
            ),
            n.push("}")),
          n.push(
            "".concat(
              Nt("html, body", r ? "input, textarea, select, button" : ""),
              " {"
            )
          ),
          n.push(
            "    border-color: ".concat(pt({ r: 76, g: 76, b: 76 }, e), ";")
          ),
          n.push("    color: ".concat(ft({ r: 0, g: 0, b: 0 }, e), ";")),
          n.push("}"),
          n.push("a {"),
          n.push("    color: ".concat(ft({ r: 0, g: 64, b: 255 }, e), ";")),
          n.push("}"),
          n.push("table {"),
          n.push(
            "    border-color: ".concat(pt({ r: 128, g: 128, b: 128 }, e), ";")
          ),
          n.push("}"),
          n.push("::placeholder {"),
          n.push("    color: ".concat(ft({ r: 169, g: 169, b: 169 }, e), ";")),
          n.push("}"),
          n.push("input:-webkit-autofill,"),
          n.push("textarea:-webkit-autofill,"),
          n.push("select:-webkit-autofill {"),
          n.push(
            "    background-color: ".concat(
              st({ r: 250, g: 255, b: 189 }, e),
              " !important;"
            )
          ),
          n.push(
            "    color: ".concat(ft({ r: 0, g: 0, b: 0 }, e), " !important;")
          ),
          n.push("}"),
          e.scrollbarColor &&
            n.push(
              (function (e) {
                var t,
                  r,
                  n,
                  o,
                  a,
                  i,
                  c = [];
                if ("auto" === e.scrollbarColor)
                  (t = st({ r: 241, g: 241, b: 241 }, e)),
                    (r = ft({ r: 96, g: 96, b: 96 }, e)),
                    (n = st({ r: 176, g: 176, b: 176 }, e)),
                    (o = st({ r: 144, g: 144, b: 144 }, e)),
                    (a = st({ r: 96, g: 96, b: 96 }, e)),
                    (i = st({ r: 255, g: 255, b: 255 }, e));
                else {
                  var u = je(Le(e.scrollbarColor)),
                    s = u.l > 0.5,
                    d = function (e) {
                      return l(l({}, u), { l: ze(u.l + e, 0, 1) });
                    },
                    f = function (e) {
                      return l(l({}, u), { l: ze(u.l - e, 0, 1) });
                    };
                  (t = Pe(f(0.4))),
                    (r = Pe(s ? f(0.4) : d(0.4))),
                    (n = Pe(u)),
                    (o = Pe(d(0.1))),
                    (a = Pe(d(0.2))),
                    (i = Pe(f(0.5)));
                }
                return (
                  c.push("::-webkit-scrollbar {"),
                  c.push("    background-color: ".concat(t, ";")),
                  c.push("    color: ".concat(r, ";")),
                  c.push("}"),
                  c.push("::-webkit-scrollbar-thumb {"),
                  c.push("    background-color: ".concat(n, ";")),
                  c.push("}"),
                  c.push("::-webkit-scrollbar-thumb:hover {"),
                  c.push("    background-color: ".concat(o, ";")),
                  c.push("}"),
                  c.push("::-webkit-scrollbar-thumb:active {"),
                  c.push("    background-color: ".concat(a, ";")),
                  c.push("}"),
                  c.push("::-webkit-scrollbar-corner {"),
                  c.push("    background-color: ".concat(i, ";")),
                  c.push("}"),
                  w &&
                    (c.push("* {"),
                    c.push(
                      "    scrollbar-color: ".concat(n, " ").concat(t, ";")
                    ),
                    c.push("}")),
                  c.join("\n")
                );
              })(e)
            ),
          e.selectionColor &&
            n.push(
              (function (e) {
                var t = [],
                  r = It(e),
                  n = r.backgroundColorSelection,
                  o = r.foregroundColorSelection;
                return (
                  ["::selection", "::-moz-selection"].forEach(function (e) {
                    t.push("".concat(e, " {")),
                      t.push(
                        "    background-color: ".concat(n, " !important;")
                      ),
                      t.push("    color: ".concat(o, " !important;")),
                      t.push("}");
                  }),
                  t.join("\n")
                );
              })(e)
            ),
          n.join("\n")
        );
      }
      function It(e) {
        var t, r;
        if ("auto" === e.selectionColor)
          (t = st({ r: 0, g: 96, b: 212 }, l(l({}, e), { grayscale: 0 }))),
            (r = ft({ r: 255, g: 255, b: 255 }, l(l({}, e), { grayscale: 0 })));
        else {
          var n = je(Le(e.selectionColor));
          (t = e.selectionColor), (r = n.l < 0.5 ? "#FFF" : "#000");
        }
        return { backgroundColorSelection: t, foregroundColorSelection: r };
      }
      function Ft(e, t) {
        return Bt(e, { strict: t.strict });
      }
      function Bt(e, t) {
        var r = t.strict,
          n = [],
          o = ["microsoft.com", "docs.microsoft.com"].includes(
            location.hostname
          );
        return (
          n.push(
            "html, body, ".concat(
              r
                ? "body :not(iframe)".concat(
                    o ? ':not(div[style^="position:absolute;top:0;left:-"]' : ""
                  )
                : "body > :not(iframe)",
              " {"
            )
          ),
          n.push(
            "    background-color: ".concat(
              st({ r: 255, g: 255, b: 255 }, e),
              " !important;"
            )
          ),
          n.push(
            "    border-color: ".concat(
              pt({ r: 64, g: 64, b: 64 }, e),
              " !important;"
            )
          ),
          n.push(
            "    color: ".concat(ft({ r: 0, g: 0, b: 0 }, e), " !important;")
          ),
          n.push("}"),
          n.join("\n")
        );
      }
      var qt = new Set([
          "inherit",
          "transparent",
          "initial",
          "currentcolor",
          "none",
          "unset",
        ]),
        Wt = new Map(),
        Gt = new Map();
      function Ut(e, t, r, n) {
        var o = this;
        try {
          var a = (function (e) {
              for (
                var t = [],
                  r = 0,
                  n = Lt.length,
                  o = function () {
                    var o;
                    if (
                      ([jt, Vt, Lt].find(function (t) {
                        if (
                          r - t.length >= 0 &&
                          e.substring(r - t.length, r) === t
                        )
                          return "repeating" ===
                            e.slice(r - t.length - 10, r - t.length - 1)
                            ? ((o = "repeating-".concat(t, "gradient")), !0)
                            : "-webkit" ===
                              e.slice(r - t.length - 8, r - t.length - 1)
                            ? ((o = "-webkit-".concat(t, "gradient")), !0)
                            : ((o = "".concat(t, "gradient")), !0);
                      }),
                      !o)
                    )
                      return "break";
                    var a = Oe(e, r + At),
                      i = a.start,
                      c = a.end,
                      u = e.substring(i + 1, c - 1);
                    (n = c + 1 + Rt),
                      t.push({
                        typeGradient: o,
                        match: u,
                        offset: o.length + 2,
                        index: r - o.length + At,
                        hasComma: !0,
                      });
                  };
                -1 !== (r = e.indexOf("gradient", n)) && "break" !== o();

              );
              return t.length && (t[t.length - 1].hasComma = !1), t;
            })(e),
            i = Ce(ge, e);
          if (0 === i.length && 0 === a.length) return e;
          var c = a
              .map(function (e) {
                return l({ type: "gradient" }, e);
              })
              .concat(
                (function (t) {
                  var r = 0;
                  return t.map(function (t) {
                    var n = e.indexOf(t, r);
                    return (r = n + t.length), { match: t, index: n };
                  });
                })(i).map(function (e) {
                  return l({ type: "url", offset: 0 }, e);
                })
              )
              .sort(function (e, t) {
                return e.index > t.index ? 1 : -1;
              }),
            u = function (e, t) {
              var r,
                n = e.isDark,
                o = e.isLight,
                a = e.isTransparent,
                i = e.isLarge,
                c = e.width;
              if (i)
                "Not modifying too large image ".concat(e.src),
                  (r = 'url("'.concat(e.src, '")'));
              else if (n && a && 1 === t.mode && c > 2) {
                "Inverting dark image ".concat(e.src);
                var u = Ot(e, l(l({}, t), { sepia: ze(t.sepia + 10, 0, 100) }));
                r = 'url("'.concat(u, '")');
              } else if (o && !a && 1 === t.mode) {
                "Dimming light image ".concat(e.src);
                var s = Ot(e, t);
                r = 'url("'.concat(s, '")');
              } else if (0 === t.mode && o) {
                "Applying filter to image ".concat(e.src);
                var d = Ot(
                  e,
                  l(l({}, t), {
                    brightness: ze(t.brightness - 10, 5, 200),
                    sepia: ze(t.sepia + 10, 0, 100),
                  })
                );
                r = 'url("'.concat(d, '")');
              } else "Not modifying too large image ".concat(e.src), (r = null);
              return r;
            },
            s = [],
            h = 0,
            p = !1;
          return (
            c.forEach(function (a, i) {
              var l = a.type,
                v = a.match,
                g = a.index,
                m = a.typeGradient,
                b = a.hasComma,
                y = a.offset,
                w = g,
                _ = h,
                k = w + v.length + y;
              (h = k),
                _ !== w &&
                  (p
                    ? s.push(function () {
                        var t = e.substring(_, w);
                        return "," === t[0] && (t = t.substring(1)), t;
                      })
                    : s.push(function () {
                        return e.substring(_, w);
                      })),
                (p = b || !1),
                "url" === l
                  ? s.push(
                      (function (e) {
                        var a;
                        if (
                          (function (e, t) {
                            if (!e || 0 === t.length) return !1;
                            if (
                              t.some(function (e) {
                                return "*" === e;
                              })
                            )
                              return !0;
                            for (
                              var r = e.split(/,\s*/g),
                                n = function (e) {
                                  var n = t[e];
                                  if (
                                    r.some(function (e) {
                                      return e === n;
                                    })
                                  )
                                    return { value: !0 };
                                },
                                o = 0;
                              o < t.length;
                              o++
                            ) {
                              var a = n(o);
                              if ("object" === typeof a) return a.value;
                            }
                            return !1;
                          })(t.selectorText, r)
                        )
                          return null;
                        var i = be(e),
                          c = 0 === i.length,
                          s = t.parentStyleSheet,
                          l =
                            s && s.href
                              ? ye(s.href)
                              : (null === (a = s.ownerNode) || void 0 === a
                                  ? void 0
                                  : a.baseURI) || location.origin;
                        i = de(l, i);
                        var h = 'url("'.concat(i, '")');
                        return function (e) {
                          return d(o, void 0, void 0, function () {
                            var t, r;
                            return f(this, function (o) {
                              switch (o.label) {
                                case 0:
                                  return c
                                    ? [2, "url('')"]
                                    : Wt.has(i)
                                    ? ((t = Wt.get(i)), [3, 7])
                                    : [3, 1];
                                case 1:
                                  return (
                                    o.trys.push([1, 6, , 7]),
                                    Gt.has(i)
                                      ? ((r = Gt.get(i)),
                                        [
                                          4,
                                          new Promise(function (e) {
                                            return r.push(e);
                                          }),
                                        ])
                                      : [3, 3]
                                  );
                                case 2:
                                  return (t = o.sent()) ? [3, 5] : [2, null];
                                case 3:
                                  return Gt.set(i, []), [4, St(i)];
                                case 4:
                                  (t = o.sent()),
                                    Wt.set(i, t),
                                    Gt.get(i).forEach(function (e) {
                                      return e(t);
                                    }),
                                    Gt.delete(i),
                                    (o.label = 5);
                                case 5:
                                  return n() ? [2, null] : [3, 7];
                                case 6:
                                  return (
                                    o.sent(),
                                    Gt.has(i) &&
                                      (Gt.get(i).forEach(function (e) {
                                        return e(null);
                                      }),
                                      Gt.delete(i)),
                                    [2, h]
                                  );
                                case 7:
                                  return [2, u(t, e) || h];
                              }
                            });
                          });
                        };
                      })(v)
                    )
                  : "gradient" === l &&
                    s.push(
                      (function (e) {
                        var t = e.typeGradient,
                          r = e.match,
                          n = e.hasComma,
                          o = /^(from|color-stop|to)\(([^\(\)]*?,\s*)?(.*?)\)$/,
                          a = Ce(
                            /([^\(\),]+(\([^\(\)]*(\([^\(\)]*\)*[^\(\)]*)?\))?([^\(\), ]|( (?!calc)))*),?/g,
                            r,
                            1
                          ).map(function (e) {
                            var t = Le((e = e.trim()));
                            if (t)
                              return function (e) {
                                return vt(t, e);
                              };
                            var r = e.lastIndexOf(" ");
                            if ((t = Le(e.substring(0, r))))
                              return function (n) {
                                return ""
                                  .concat(vt(t, n), " ")
                                  .concat(e.substring(r + 1));
                              };
                            var n = e.match(o);
                            return n && (t = Le(n[3]))
                              ? function (e) {
                                  return ""
                                    .concat(n[1], "(")
                                    .concat(n[2] ? "".concat(n[2], ", ") : "")
                                    .concat(vt(t, e), ")");
                                }
                              : function () {
                                  return e;
                                };
                          });
                        return function (e) {
                          return ""
                            .concat(t, "(")
                            .concat(
                              a
                                .map(function (t) {
                                  return t(e);
                                })
                                .join(", "),
                              ")"
                            )
                            .concat(n ? ", " : "");
                        };
                      })({
                        match: v,
                        index: g,
                        typeGradient: m,
                        hasComma: b || !1,
                        offset: y,
                      })
                    ),
                i === c.length - 1 &&
                  s.push(function () {
                    return e.substring(k);
                  });
            }),
            function (e) {
              var t = s.filter(Boolean).map(function (t) {
                return t(e);
              });
              if (
                t.some(function (e) {
                  return e instanceof Promise;
                })
              )
                return Promise.all(t).then(function (e) {
                  return e.filter(Boolean).join("");
                });
              var r = t.join("");
              return r.endsWith(", initial") ? r.slice(0, -9) : r;
            }
          );
        } catch (v) {
          return null;
        }
      }
      function Ht(e) {
        try {
          var t = 0,
            r = Ce(
              /(^|\s)(?!calc)([a-z]+\(.+?\)|#[0-9a-f]+|[a-z]+)(.*?(inset|outset)?($|,))/gi,
              e,
              2
            ),
            n = 0,
            o = r.map(function (o, a) {
              var i = t,
                c = e.indexOf(o, t),
                u = c + o.length;
              t = u;
              var s = Le(o);
              return s
                ? function (t) {
                    return ""
                      .concat(e.substring(i, c))
                      .concat(
                        (function (e, t) {
                          return st(e, t);
                        })(s, t)
                      )
                      .concat(a === r.length - 1 ? e.substring(u) : "");
                  }
                : (n++,
                  function () {
                    return e.substring(i, u);
                  });
            });
          return function (e) {
            var t = o
              .map(function (t) {
                return t(e);
              })
              .join("");
            return {
              matchesLength: r.length,
              unparseableMatchesLength: n,
              result: t,
            };
          };
        } catch (a) {
          return null;
        }
      }
      function $t() {
        tt.clear(), Wt.clear(), Tt(), Gt.clear();
      }
      var Kt = new ((function () {
        function e() {
          (this.varTypes = new Map()),
            (this.rulesQueue = []),
            (this.definedVars = new Set()),
            (this.varRefs = new Map()),
            (this.unknownColorVars = new Set()),
            (this.unknownBgVars = new Set()),
            (this.undefinedVars = new Set()),
            (this.initialVarTypes = new Map()),
            (this.changedTypeVars = new Set()),
            (this.typeChangeSubscriptions = new Map()),
            (this.unstableVarValues = new Map());
        }
        return (
          (e.prototype.clear = function () {
            this.varTypes.clear(),
              this.rulesQueue.splice(0),
              this.definedVars.clear(),
              this.varRefs.clear(),
              this.unknownColorVars.clear(),
              this.unknownBgVars.clear(),
              this.undefinedVars.clear(),
              this.initialVarTypes.clear(),
              this.changedTypeVars.clear(),
              this.typeChangeSubscriptions.clear(),
              this.unstableVarValues.clear();
          }),
          (e.prototype.isVarType = function (e, t) {
            return this.varTypes.has(e) && (this.varTypes.get(e) & t) > 0;
          }),
          (e.prototype.addRulesForMatching = function (e) {
            this.rulesQueue.push(e);
          }),
          (e.prototype.matchVariablesAndDependents = function () {
            var e = this;
            this.changedTypeVars.clear(),
              (this.initialVarTypes = new Map(this.varTypes)),
              this.collectRootVariables(),
              this.collectVariablesAndVarDep(this.rulesQueue),
              this.rulesQueue.splice(0),
              this.collectRootVarDependents(),
              this.varRefs.forEach(function (t, r) {
                t.forEach(function (t) {
                  e.varTypes.has(r) &&
                    e.resolveVariableType(t, e.varTypes.get(r));
                });
              }),
              this.unknownColorVars.forEach(function (t) {
                e.unknownBgVars.has(t)
                  ? (e.unknownColorVars.delete(t),
                    e.unknownBgVars.delete(t),
                    e.resolveVariableType(t, 1))
                  : e.isVarType(t, 7)
                  ? e.unknownColorVars.delete(t)
                  : e.undefinedVars.add(t);
              }),
              this.unknownBgVars.forEach(function (t) {
                null !=
                e.findVarRef(t, function (t) {
                  return e.unknownColorVars.has(t) || e.isVarType(t, 6);
                })
                  ? e.iterateVarRefs(t, function (t) {
                      e.resolveVariableType(t, 1);
                    })
                  : e.isVarType(t, 9)
                  ? e.unknownBgVars.delete(t)
                  : e.undefinedVars.add(t);
              }),
              this.changedTypeVars.forEach(function (t) {
                e.typeChangeSubscriptions.has(t) &&
                  e.typeChangeSubscriptions.get(t).forEach(function (e) {
                    e();
                  });
              }),
              this.changedTypeVars.clear();
          }),
          (e.prototype.getModifierForVariable = function (e) {
            var t = this;
            return function (r) {
              var n = e.varName,
                o = e.sourceValue,
                a = e.rule,
                i = e.ignoredImgSelectors,
                c = e.isCancelled,
                u = function () {
                  var e = [],
                    u = function (a, i, c) {
                      if (t.isVarType(n, a)) {
                        var u,
                          s = i(n);
                        if (nr(o))
                          if (or(o)) {
                            var l = dr(o, t.unstableVarValues);
                            l || (l = 1 === a ? "#ffffff" : "#000000"),
                              (u = c(l, r));
                          } else
                            u = Xt(
                              o,
                              function (e) {
                                return i(e);
                              },
                              function (e) {
                                return c(e, r);
                              }
                            );
                        else u = c(o, r);
                        e.push({ property: s, value: u });
                      }
                    };
                  if (
                    (u(1, Jt, ur),
                    u(2, Zt, sr),
                    u(4, er, lr),
                    t.isVarType(n, 8))
                  ) {
                    var s = tr(n),
                      l = o;
                    nr(o) &&
                      (l = Xt(
                        o,
                        function (e) {
                          return Jt(e);
                        },
                        function (e) {
                          return ur(e, r);
                        }
                      ));
                    var d = Ut(l, a, i, c);
                    (l = "function" === typeof d ? d(r) : d),
                      e.push({ property: s, value: l });
                  }
                  return e;
                },
                s = new Set();
              return {
                declarations: u(),
                onTypeChange: {
                  addListener: function (e) {
                    var r = function () {
                      var t = u();
                      e(t);
                    };
                    s.add(r), t.subscribeForVarTypeChange(n, r);
                  },
                  removeListeners: function () {
                    s.forEach(function (e) {
                      t.unsubscribeFromVariableTypeChanges(n, e);
                    });
                  },
                },
              };
            };
          }),
          (e.prototype.getModifierForVarDependant = function (e, t) {
            var r = this;
            if (t.match(/^\s*(rgb|hsl)a?\(/)) {
              var n = e.startsWith("background"),
                o = ar(e);
              return function (e) {
                var a = dr(t, r.unstableVarValues);
                return (
                  a || (a = n ? "#ffffff" : "#000000"),
                  (n ? ur : o ? sr : lr)(a, e)
                );
              };
            }
            return "background-color" === e
              ? function (e) {
                  return Xt(
                    t,
                    function (e) {
                      return Jt(e);
                    },
                    function (t) {
                      return ur(t, e);
                    }
                  );
                }
              : ar(e)
              ? function (e) {
                  return Xt(
                    t,
                    function (e) {
                      return Zt(e);
                    },
                    function (t) {
                      return sr(t, e);
                    }
                  );
                }
              : "background" === e ||
                "background-image" === e ||
                "box-shadow" === e
              ? function (n) {
                  var o = new Set(),
                    a = function () {
                      var a = Xt(
                        t,
                        function (e) {
                          return r.isVarType(e, 1)
                            ? Jt(e)
                            : r.isVarType(e, 8)
                            ? tr(e)
                            : (o.add(e), e);
                        },
                        function (e) {
                          return ur(e, n);
                        }
                      );
                      if ("box-shadow" === e) {
                        var i = Ht(a)(n);
                        if (i.unparseableMatchesLength !== i.matchesLength)
                          return i.result;
                      }
                      return a;
                    },
                    i = a();
                  return o.size > 0
                    ? new Promise(function (e) {
                        var t = o.values().next().value;
                        r.subscribeForVarTypeChange(t, function n() {
                          r.unsubscribeFromVariableTypeChanges(t, n);
                          var o = a();
                          e(o);
                        });
                      })
                    : i;
                }
              : e.startsWith("border") || e.startsWith("outline")
              ? function (e) {
                  return Xt(
                    t,
                    function (e) {
                      return er(e);
                    },
                    function (t) {
                      return lr(t, e);
                    }
                  );
                }
              : null;
          }),
          (e.prototype.subscribeForVarTypeChange = function (e, t) {
            this.typeChangeSubscriptions.has(e) ||
              this.typeChangeSubscriptions.set(e, new Set());
            var r = this.typeChangeSubscriptions.get(e);
            r.has(t) || r.add(t);
          }),
          (e.prototype.unsubscribeFromVariableTypeChanges = function (e, t) {
            this.typeChangeSubscriptions.has(e) &&
              this.typeChangeSubscriptions.get(e).delete(t);
          }),
          (e.prototype.collectVariablesAndVarDep = function (e) {
            var t = this;
            e.forEach(function (e) {
              fe(e, function (e) {
                e.style &&
                  ve(e.style, function (e, r) {
                    rr(e) && t.inspectVariable(e, r),
                      nr(r) && t.inspectVarDependant(e, r);
                  });
              });
            });
          }),
          (e.prototype.collectRootVariables = function () {
            var e = this;
            ve(document.documentElement.style, function (t, r) {
              rr(t) && e.inspectVariable(t, r);
            });
          }),
          (e.prototype.inspectVariable = function (e, t) {
            this.unstableVarValues.set(e, t),
              nr(t) &&
                or(t) &&
                (this.unknownColorVars.add(e), this.definedVars.add(e)),
              this.definedVars.has(e) ||
                (this.definedVars.add(e),
                ir.test(t) || Le(t)
                  ? this.unknownColorVars.add(e)
                  : (t.includes("url(") ||
                      t.includes("linear-gradient(") ||
                      t.includes("radial-gradient(")) &&
                    this.resolveVariableType(e, 8));
          }),
          (e.prototype.resolveVariableType = function (e, t) {
            var r = this.initialVarTypes.get(e) || 0,
              n = (this.varTypes.get(e) || 0) | t;
            this.varTypes.set(e, n),
              (n !== r || this.undefinedVars.has(e)) &&
                (this.changedTypeVars.add(e), this.undefinedVars.delete(e)),
              this.unknownColorVars.delete(e),
              this.unknownBgVars.delete(e);
          }),
          (e.prototype.collectRootVarDependents = function () {
            var e = this;
            ve(document.documentElement.style, function (t, r) {
              nr(r) && e.inspectVarDependant(t, r);
            });
          }),
          (e.prototype.inspectVarDependant = function (e, t) {
            var r = this;
            rr(e)
              ? this.iterateVarDeps(t, function (t) {
                  r.varRefs.has(e) || r.varRefs.set(e, new Set()),
                    r.varRefs.get(e).add(t);
                })
              : "background-color" === e || "box-shadow" === e
              ? this.iterateVarDeps(t, function (e) {
                  return r.resolveVariableType(e, 1);
                })
              : ar(e)
              ? this.iterateVarDeps(t, function (e) {
                  return r.resolveVariableType(e, 2);
                })
              : e.startsWith("border") || e.startsWith("outline")
              ? this.iterateVarDeps(t, function (e) {
                  return r.resolveVariableType(e, 4);
                })
              : ("background" !== e && "background-image" !== e) ||
                this.iterateVarDeps(t, function (e) {
                  if (!r.isVarType(e, 9)) {
                    var t =
                      null !=
                      r.findVarRef(e, function (e) {
                        return r.unknownColorVars.has(e) || r.isVarType(e, 6);
                      });
                    r.iterateVarRefs(e, function (e) {
                      t ? r.resolveVariableType(e, 1) : r.unknownBgVars.add(e);
                    });
                  }
                });
          }),
          (e.prototype.iterateVarDeps = function (e, t) {
            var r = new Set();
            !(function (e, t) {
              Xt(e, function (e) {
                return t(e), e;
              });
            })(e, function (e) {
              return r.add(e);
            }),
              r.forEach(function (e) {
                return t(e);
              });
          }),
          (e.prototype.findVarRef = function (e, t, r) {
            var n, o;
            if ((void 0 === r && (r = new Set()), r.has(e))) return null;
            if ((r.add(e), t(e))) return e;
            var a = this.varRefs.get(e);
            if (!a || 0 === a.size) return null;
            try {
              for (var i = h(a), c = i.next(); !c.done; c = i.next()) {
                var u = c.value,
                  s = this.findVarRef(u, t, r);
                if (s) return s;
              }
            } catch (l) {
              n = { error: l };
            } finally {
              try {
                c && !c.done && (o = i.return) && o.call(i);
              } finally {
                if (n) throw n.error;
              }
            }
            return null;
          }),
          (e.prototype.iterateVarRefs = function (e, t) {
            this.findVarRef(e, function (e) {
              return t(e), !1;
            });
          }),
          (e.prototype.setOnRootVariableChange = function (e) {
            this.onRootVariableDefined = e;
          }),
          (e.prototype.putRootVars = function (e, t) {
            var r,
              n,
              o = this,
              a = e.sheet;
            a.cssRules.length > 0 && a.deleteRule(0);
            var i = new Map();
            ve(document.documentElement.style, function (e, r) {
              rr(e) &&
                (o.isVarType(e, 1) && i.set(Jt(e), ur(r, t)),
                o.isVarType(e, 2) && i.set(Zt(e), sr(r, t)),
                o.isVarType(e, 4) && i.set(er(e), lr(r, t)),
                o.subscribeForVarTypeChange(e, o.onRootVariableDefined));
            });
            var c = [];
            c.push(":root {");
            try {
              for (var u = h(i), s = u.next(); !s.done; s = u.next()) {
                var l = p(s.value, 2),
                  d = l[0],
                  f = l[1];
                c.push("    ".concat(d, ": ").concat(f, ";"));
              }
            } catch (g) {
              r = { error: g };
            } finally {
              try {
                s && !s.done && (n = u.return) && n.call(u);
              } finally {
                if (r) throw r.error;
              }
            }
            c.push("}");
            var v = c.join("\n");
            a.insertRule(v);
          }),
          e
        );
      })())();
      function zt(e, t) {
        void 0 === t && (t = 0);
        var r = e.indexOf("var(", t);
        if (r >= 0) {
          var n = Oe(e, r + 3);
          if (n) return { start: r, end: n.end };
        }
        return null;
      }
      function Qt(e, t) {
        var r = (function (e) {
            for (var t, r = [], n = 0; (t = zt(e, n)); ) {
              var o = t.start,
                a = t.end;
              r.push({ start: o, end: a, value: e.substring(o, a) }),
                (n = t.end + 1);
            }
            return r;
          })(e),
          n = r.length;
        if (0 === n) return e;
        var o = e.length,
          a = r.map(function (e) {
            return t(e.value);
          }),
          i = [];
        i.push(e.substring(0, r[0].start));
        for (var c = 0; c < n; c++) {
          i.push(a[c]);
          var u = r[c].end,
            s = c < n - 1 ? r[c + 1].start : o;
          i.push(e.substring(u, s));
        }
        return i.join("");
      }
      function Yt(e) {
        var t,
          r,
          n = e.indexOf(",");
        return (
          n >= 0
            ? ((t = e.substring(4, n).trim()),
              (r = e.substring(n + 1, e.length - 1).trim()))
            : ((t = e.substring(4, e.length - 1).trim()), (r = "")),
          { name: t, fallback: r }
        );
      }
      function Xt(e, t, r) {
        return Qt(e, function (e) {
          var n,
            o = Yt(e),
            a = o.name,
            i = o.fallback,
            c = t(a);
          return i
            ? ((n = nr(i) ? Xt(i, t, r) : r ? r(i) : i),
              "var(".concat(c, ", ").concat(n, ")"))
            : "var(".concat(c, ")");
        });
      }
      function Jt(e) {
        return "--darkreader-bg".concat(e);
      }
      function Zt(e) {
        return "--darkreader-text".concat(e);
      }
      function er(e) {
        return "--darkreader-border".concat(e);
      }
      function tr(e) {
        return "--darkreader-bgimg".concat(e);
      }
      function rr(e) {
        return e.startsWith("--");
      }
      function nr(e) {
        return e.includes("var(");
      }
      function or(e) {
        return e.match(/^\s*(rgb|hsl)a?\(/);
      }
      function ar(e) {
        return (
          "color" === e ||
          "caret-color" === e ||
          "-webkit-text-fill-color" === e
        );
      }
      var ir = /^\d{1,3}, ?\d{1,3}, ?\d{1,3}$/;
      function cr(e, t, r) {
        var n = (function (e) {
            if (ir.test(e)) {
              var t = e.split(","),
                r = "rgb(";
              return (
                t.forEach(function (e) {
                  r += "".concat(e.trim(), ", ");
                }),
                (r = r.substring(0, r.length - 2)),
                { isRaw: !0, color: (r += ")") }
              );
            }
            return { isRaw: !1, color: e };
          })(e),
          o = n.isRaw,
          a = n.color,
          i = Le(a);
        if (i) {
          var c = r(i, t);
          if (o) {
            var u = Le(c);
            return u ? "".concat(u.r, ", ").concat(u.g, ", ").concat(u.b) : c;
          }
          return c;
        }
        return a;
      }
      function ur(e, t) {
        return cr(e, t, st);
      }
      function sr(e, t) {
        return cr(e, t, ft);
      }
      function lr(e, t) {
        return cr(e, t, pt);
      }
      function dr(e, t, r) {
        void 0 === r && (r = new Set());
        var n = !1,
          o = Qt(e, function (e) {
            var o = Yt(e),
              a = o.name,
              i = o.fallback;
            if (r.has(a)) return (n = !0), null;
            r.add(a);
            var c = t.get(a) || i,
              u = null;
            return c && (u = nr(c) ? dr(c, t, r) : c), u || ((n = !0), null);
          });
        return n ? null : o;
      }
      var fr = {
          "background-color": {
            customProp: "--darkreader-inline-bgcolor",
            cssProp: "background-color",
            dataAttr: "data-darkreader-inline-bgcolor",
          },
          "background-image": {
            customProp: "--darkreader-inline-bgimage",
            cssProp: "background-image",
            dataAttr: "data-darkreader-inline-bgimage",
          },
          "border-color": {
            customProp: "--darkreader-inline-border",
            cssProp: "border-color",
            dataAttr: "data-darkreader-inline-border",
          },
          "border-bottom-color": {
            customProp: "--darkreader-inline-border-bottom",
            cssProp: "border-bottom-color",
            dataAttr: "data-darkreader-inline-border-bottom",
          },
          "border-left-color": {
            customProp: "--darkreader-inline-border-left",
            cssProp: "border-left-color",
            dataAttr: "data-darkreader-inline-border-left",
          },
          "border-right-color": {
            customProp: "--darkreader-inline-border-right",
            cssProp: "border-right-color",
            dataAttr: "data-darkreader-inline-border-right",
          },
          "border-top-color": {
            customProp: "--darkreader-inline-border-top",
            cssProp: "border-top-color",
            dataAttr: "data-darkreader-inline-border-top",
          },
          "box-shadow": {
            customProp: "--darkreader-inline-boxshadow",
            cssProp: "box-shadow",
            dataAttr: "data-darkreader-inline-boxshadow",
          },
          color: {
            customProp: "--darkreader-inline-color",
            cssProp: "color",
            dataAttr: "data-darkreader-inline-color",
          },
          fill: {
            customProp: "--darkreader-inline-fill",
            cssProp: "fill",
            dataAttr: "data-darkreader-inline-fill",
          },
          stroke: {
            customProp: "--darkreader-inline-stroke",
            cssProp: "stroke",
            dataAttr: "data-darkreader-inline-stroke",
          },
          "outline-color": {
            customProp: "--darkreader-inline-outline",
            cssProp: "outline-color",
            dataAttr: "data-darkreader-inline-outline",
          },
          "stop-color": {
            customProp: "--darkreader-inline-stopcolor",
            cssProp: "stop-color",
            dataAttr: "data-darkreader-inline-stopcolor",
          },
        },
        hr = Object.values(fr),
        pr = {};
      hr.forEach(function (e) {
        var t = e.cssProp,
          r = e.customProp;
        return (pr[r] = t);
      });
      var vr = ["style", "fill", "stop-color", "stroke", "bgcolor", "color"],
        gr = vr
          .map(function (e) {
            return "[".concat(e, "]");
          })
          .join(", ");
      function mr() {
        return hr
          .map(function (e) {
            var t = e.dataAttr,
              r = e.customProp,
              n = e.cssProp;
            return [
              "[".concat(t, "] {"),
              "  ".concat(n, ": var(").concat(r, ") !important;"),
              "}",
            ].join("\n");
          })
          .join("\n");
      }
      var br = new Map(),
        yr = new Map();
      function wr(e, t, r) {
        br.has(e) && (br.get(e).disconnect(), yr.get(e).disconnect());
        var n = new WeakSet();
        function o(e) {
          (function (e) {
            var t = [];
            return (
              e instanceof Element && e.matches(gr) && t.push(e),
              (e instanceof Element ||
                (S && e instanceof ShadowRoot) ||
                e instanceof Document) &&
                H(t, e.querySelectorAll(gr)),
              t
            );
          })(e).forEach(function (e) {
            n.has(e) || (n.add(e), t(e));
          }),
            Y(e, function (o) {
              n.has(e) || (n.add(e), r(o.shadowRoot), wr(o.shadowRoot, t, r));
            });
        }
        var a = ce(e, {
          onMinorMutations: function (e) {
            e.additions.forEach(function (e) {
              return o(e);
            });
          },
          onHugeMutations: function () {
            o(e);
          },
        });
        br.set(e, a);
        var i = 0,
          c = null,
          u = K({ seconds: 10 }),
          s = K({ seconds: 2 }),
          l = [],
          d = null,
          f = $(function (e) {
            var r = new Set();
            e.forEach(function (e) {
              var n = e.target;
              r.has(n) || (vr.includes(e.attributeName) && (r.add(n), t(n)));
            });
          }),
          h = new MutationObserver(function (e) {
            if (d) l.push.apply(l, v([], p(e), !1));
            else {
              i++;
              var t = Date.now();
              if (null == c) c = t;
              else if (i >= 50) {
                if (t - c < u)
                  return (
                    (d = setTimeout(function () {
                      (c = null), (i = 0), (d = null);
                      var e = l;
                      (l = []), f(e);
                    }, s)),
                    void l.push.apply(l, v([], p(e), !1))
                  );
                (c = t), (i = 1);
              }
              f(e);
            }
          });
        h.observe(e, {
          attributes: !0,
          attributeFilter: vr.concat(
            hr.map(function (e) {
              return e.dataAttr;
            })
          ),
          subtree: !0,
        }),
          yr.set(e, h);
      }
      var _r = new WeakMap(),
        kr = ["brightness", "contrast", "grayscale", "sepia", "mode"];
      function Er(e, t) {
        return vr
          .map(function (t) {
            return "".concat(t, '="').concat(e.getAttribute(t), '"');
          })
          .concat(
            kr.map(function (e) {
              return "".concat(e, '="').concat(t[e], '"');
            })
          )
          .join(" ");
      }
      function Sr(e, t, r, n) {
        if (Er(e, t) !== _r.get(e)) {
          var o = new Set(Object.keys(fr));
          if (
            r.length > 0 &&
            (function (e, t) {
              for (var r = 0, n = t.length; r < n; r++) {
                var o = t[r];
                if (e.matches(o)) return !0;
              }
              return !1;
            })(e, r)
          )
            o.forEach(function (t) {
              e.removeAttribute(fr[t].dataAttr);
            });
          else {
            if (
              (e.hasAttribute("bgcolor") &&
                (((c = e.getAttribute("bgcolor")).match(/^[0-9a-f]{3}$/i) ||
                  c.match(/^[0-9a-f]{6}$/i)) &&
                  (c = "#".concat(c)),
                u("background-color", "background-color", c)),
              e.hasAttribute("color") &&
                "mask-icon" !== e.rel &&
                (((c = e.getAttribute("color")).match(/^[0-9a-f]{3}$/i) ||
                  c.match(/^[0-9a-f]{6}$/i)) &&
                  (c = "#".concat(c)),
                u("color", "color", c)),
              e instanceof SVGElement)
            ) {
              if (e.hasAttribute("fill")) {
                var a = e.getAttribute("fill");
                if ("none" !== a)
                  if (e instanceof SVGTextElement) u("fill", "color", a);
                  else {
                    var i = function () {
                      var t = e.getBoundingClientRect(),
                        r = t.width,
                        n = t.height;
                      u(
                        "fill",
                        r > 32 || n > 32 ? "background-color" : "color",
                        a
                      );
                    };
                    te() ? i() : ne(i);
                  }
              }
              e.hasAttribute("stop-color") &&
                u(
                  "stop-color",
                  "background-color",
                  e.getAttribute("stop-color")
                );
            }
            if (e.hasAttribute("stroke")) {
              var c = e.getAttribute("stroke");
              u(
                "stroke",
                e instanceof SVGLineElement || e instanceof SVGTextElement
                  ? "border-color"
                  : "color",
                c
              );
            }
            e.style &&
              ve(e.style, function (t, r) {
                if ("background-image" !== t || !r.includes("url"))
                  if (fr.hasOwnProperty(t) || (t.startsWith("--") && !pr[t]))
                    u(t, t, r);
                  else {
                    var n = pr[t];
                    if (
                      n &&
                      !e.style.getPropertyValue(n) &&
                      !e.hasAttribute(n)
                    ) {
                      if ("background-color" === n && e.hasAttribute("bgcolor"))
                        return;
                      e.style.setProperty(t, "");
                    }
                  }
              }),
              e.style &&
                e instanceof SVGTextElement &&
                e.style.fill &&
                u("fill", "color", e.style.getPropertyValue("fill")),
              U(o, function (t) {
                e.removeAttribute(fr[t].dataAttr);
              }),
              _r.set(e, Er(e, t));
          }
        }
        function u(r, a, i) {
          var c = r.startsWith("--"),
            u = c ? {} : fr[r],
            s = u.customProp,
            l = u.dataAttr,
            d = Pt(a, i, { style: e.style }, Kt, n, null);
          if (d) {
            var f = d.value;
            "function" === typeof f && (f = f(t)),
              c && "object" === typeof f
                ? f.declarations.forEach(function (t) {
                    var r = t.property,
                      n = t.value;
                    !(n instanceof Promise) && e.style.setProperty(r, n);
                  })
                : (e.style.setProperty(s, f),
                  e.hasAttribute(l) || e.setAttribute(l, ""),
                  o.delete(r));
          }
        }
      }
      var xr = 'meta[name="'.concat("theme-color", '"]'),
        Cr = null,
        Or = null;
      function Tr(e, t) {
        var r = Le((Cr = Cr || e.content));
        r && (e.content = st(r, t));
      }
      var Ar = [
          "mode",
          "brightness",
          "contrast",
          "grayscale",
          "sepia",
          "darkSchemeBackgroundColor",
          "darkSchemeTextColor",
          "lightSchemeBackgroundColor",
          "lightSchemeTextColor",
        ],
        Lr = (function () {
          var e = [],
            t = null;
          function r() {
            for (var r; (r = e.shift()); ) r();
            t = null;
          }
          return {
            add: function (n) {
              e.push(n), t || (t = requestAnimationFrame(r));
            },
            cancel: function () {
              e.splice(0), cancelAnimationFrame(t), (t = null);
            },
          };
        })();
      function Rr() {
        var e = 0,
          t = new Set(),
          r = new Map(),
          n = new Set(),
          o = null,
          a = !1,
          i = !1;
        return {
          modifySheet: function (c) {
            var u = c.sourceCSSRules,
              s = c.theme,
              l = c.ignoreImageAnalysis,
              d = c.force,
              f = c.prepareSheet,
              h = c.isAsyncCancelled,
              g = 0 === r.size,
              m = new Set(r.keys()),
              b = (function (e) {
                var t = "";
                return (
                  Ar.forEach(function (r) {
                    t += "".concat(r, ":").concat(e[r], ";");
                  }),
                  t
                );
              })(s),
              w = b !== o;
            a && (i = !0);
            var _ = [];
            if (
              (fe(
                u,
                function (e) {
                  var n = e.cssText,
                    o = !1;
                  if (
                    (m.delete(n),
                    e.parentRule instanceof CSSMediaRule &&
                      (n += ";".concat(e.parentRule.media.mediaText)),
                    t.has(n) || (t.add(n), (o = !0)),
                    o)
                  ) {
                    if (((g = !0), "revert" !== e.style.all)) {
                      var a = [];
                      e.style &&
                        ve(e.style, function (t, r) {
                          var n = Pt(t, r, e, Kt, l, h);
                          n && a.push(n);
                        });
                      var i = null;
                      if (a.length > 0) {
                        var c = e.parentRule;
                        (i = {
                          selector: e.selectorText,
                          declarations: a,
                          parentRule: c,
                        }),
                          _.push(i);
                      }
                      r.set(n, i);
                    }
                  } else _.push(r.get(n));
                },
                function () {
                  a = !0;
                }
              ),
              m.forEach(function (e) {
                t.delete(e), r.delete(e);
              }),
              (o = b),
              d || g || w)
            ) {
              e++;
              var k = new Map(),
                E = new Map(),
                S = 0,
                x = 0,
                C = { rule: null, rules: [], isGroup: !0 },
                O = new WeakMap();
              n.forEach(function (e) {
                return e();
              }),
                n.clear(),
                _.filter(function (e) {
                  return e;
                }).forEach(function (t) {
                  var r = t.selector,
                    o = t.declarations,
                    a = (function e(t) {
                      if (null == t) return C;
                      if (O.has(t)) return O.get(t);
                      var r = { rule: t, rules: [], isGroup: !0 };
                      return O.set(t, r), e(t.parentRule).rules.push(r), r;
                    })(t.parentRule),
                    i = { selector: r, declarations: [], isGroup: !1 },
                    c = i.declarations;
                  function u(t, r, n, o) {
                    var a = ++S,
                      i = {
                        property: t,
                        value: null,
                        important: n,
                        asyncKey: a,
                        sourceValue: o,
                      };
                    c.push(i);
                    var u = e;
                    r.then(function (t) {
                      t &&
                        !h() &&
                        u === e &&
                        ((i.value = t),
                        Lr.add(function () {
                          h() ||
                            u !== e ||
                            (function (e) {
                              var t = k.get(e),
                                r = t.rule,
                                n = t.target,
                                o = t.index;
                              n.deleteRule(o), A(n, o, r), k.delete(e);
                            })(a);
                        }));
                    });
                  }
                  function l(t, r, o, a) {
                    var i = r.declarations,
                      s = r.onTypeChange,
                      l = ++x,
                      d = e,
                      f = c.length,
                      g = [];
                    if (0 === i.length) {
                      var m = {
                        property: t,
                        value: a,
                        important: o,
                        sourceValue: a,
                        varKey: l,
                      };
                      c.push(m), (g = [m]);
                    }
                    i.forEach(function (e) {
                      if (e.value instanceof Promise)
                        u(e.property, e.value, o, a);
                      else {
                        var t = {
                          property: e.property,
                          value: e.value,
                          important: o,
                          sourceValue: a,
                          varKey: l,
                        };
                        c.push(t), g.push(t);
                      }
                    }),
                      s.addListener(function (t) {
                        if (!h() && d === e) {
                          var r = t.map(function (e) {
                              return {
                                property: e.property,
                                value: e.value,
                                important: o,
                                sourceValue: a,
                                varKey: l,
                              };
                            }),
                            n = c.indexOf(g[0], f);
                          c.splice.apply(c, v([n, g.length], p(r), !1)),
                            (g = r),
                            (function (e) {
                              var t = E.get(e),
                                r = t.rule,
                                n = t.target,
                                o = t.index;
                              n.deleteRule(o), A(n, o, r);
                            })(l);
                        }
                      }),
                      n.add(function () {
                        return s.removeListeners();
                      });
                  }
                  a.rules.push(i),
                    o.forEach(function (e) {
                      var t = e.property,
                        r = e.value,
                        n = e.important,
                        o = e.sourceValue;
                      if ("function" === typeof r) {
                        var a = r(s);
                        a instanceof Promise
                          ? u(t, a, n, o)
                          : t.startsWith("--")
                          ? l(t, a, n, o)
                          : c.push({
                              property: t,
                              value: a,
                              important: n,
                              sourceValue: o,
                            });
                      } else c.push({ property: t, value: r, important: n, sourceValue: o });
                    });
                });
              var T = f();
              !(function e(t, r, n) {
                t.rules.forEach(function (t) {
                  t.isGroup
                    ? e(
                        t,
                        (function (e, t) {
                          var r = e.rule;
                          if (r instanceof CSSMediaRule) {
                            var n = r.media,
                              o = t.cssRules.length;
                            return (
                              t.insertRule(
                                "@media ".concat(n.mediaText, " {}"),
                                o
                              ),
                              t.cssRules[o]
                            );
                          }
                          return t;
                        })(t, r),
                        n
                      )
                    : n(t, r);
                });
              })(C, T, function (e, t) {
                var r = t.cssRules.length;
                e.declarations.forEach(function (n) {
                  var o = n.asyncKey,
                    a = n.varKey;
                  null != o && k.set(o, { rule: e, target: t, index: r }),
                    null != a && E.set(a, { rule: e, target: t, index: r });
                }),
                  A(t, r, e);
              });
            }
            function A(e, t, r) {
              var n = r.selector,
                o = r.declarations,
                a = "";
              o.forEach(function (e) {
                a += "".concat(
                  (function (e) {
                    var t = e.property,
                      r = e.value,
                      n = e.important,
                      o = e.sourceValue;
                    return ""
                      .concat(t, ": ")
                      .concat(null == r ? o : r)
                      .concat(n ? " !important" : "", ";");
                  })(e),
                  " "
                );
              });
              var i = n;
              y &&
                n.startsWith(":is(") &&
                (n.includes(":is()") ||
                  n.includes(":where()") ||
                  (n.includes(":where(") && n.includes(":-moz"))) &&
                (i = ".darkreader-unsupported-selector");
              var c = "".concat(i, " { ").concat(a, " }");
              e.insertRule(c, t);
            }
          },
          shouldRebuildStyle: function () {
            return a && !i;
          },
        };
      }
      function Vr(e) {
        return (
          (e instanceof HTMLStyleElement ||
            e instanceof SVGStyleElement ||
            (e instanceof HTMLLinkElement &&
              Boolean(e.rel) &&
              e.rel.toLowerCase().includes("stylesheet") &&
              Boolean(e.href) &&
              !e.disabled &&
              (!w || !e.href.startsWith("moz-extension://")) &&
              !(function (e) {
                if (!e.href) return !1;
                try {
                  return "fonts.googleapis.com" === new URL(e.href).hostname;
                } catch (t) {
                  return "Couldn't construct ".concat(e.href, " as URL"), !1;
                }
              })(e))) &&
          !e.classList.contains("darkreader") &&
          "print" !== e.media.toLowerCase() &&
          !e.classList.contains("stylus")
        );
      }
      function jr(e, t, r) {
        return (
          void 0 === t && (t = []),
          void 0 === r && (r = !0),
          Vr(e)
            ? t.push(e)
            : (e instanceof Element ||
                (S && e instanceof ShadowRoot) ||
                e === document) &&
              (U(
                e.querySelectorAll(
                  'style, link[rel*="stylesheet" i]:not([disabled])'
                ),
                function (e) {
                  return jr(e, t, !1);
                }
              ),
              r &&
                Y(e, function (e) {
                  return jr(e.shadowRoot, t, !1);
                })),
          t
        );
      }
      var Mr = new WeakSet(),
        Pr = new WeakSet(),
        Nr = !1;
      document.addEventListener(
        "__darkreader__inlineScriptsAllowed",
        function () {
          Nr = !0;
        },
        { once: !0, passive: !0 }
      );
      var Dr = 0,
        Ir = new Map();
      function Fr(e, t) {
        for (
          var r = t.update, n = t.loadingStart, o = t.loadingEnd, a = [], i = e;
          (i = i.nextElementSibling) && i.matches(".darkreader");

        )
          a.push(i);
        var c =
            a.find(function (e) {
              return e.matches(".darkreader--cors") && !Pr.has(e);
            }) || null,
          u =
            a.find(function (e) {
              return e.matches(".darkreader--sync") && !Mr.has(e);
            }) || null,
          s = null,
          l = null,
          h = !1,
          v = !0,
          g = Rr(),
          m = new MutationObserver(function () {
            r();
          }),
          b = { attributes: !0, childList: !0, subtree: !0, characterData: !0 };
        function y() {
          var t;
          return (
            e instanceof HTMLStyleElement &&
            _e(null !== (t = e.textContent) && void 0 !== t ? t : "")
              .trim()
              .match(me)
          );
        }
        function w(e, t) {
          var r = !1;
          if (e) {
            var n = void 0;
            e: for (var o = 0, a = e.length; o < a; o++)
              if ((n = e[o]).href) {
                if (!t) {
                  r = !0;
                  break e;
                }
                if (
                  !n.href.startsWith("https://fonts.googleapis.com/") &&
                  n.href.startsWith("http") &&
                  !n.href.startsWith(location.origin)
                ) {
                  r = !0;
                  break e;
                }
              }
          }
          return r;
        }
        function k() {
          if (c) return c.sheet.cssRules;
          if (y()) return null;
          var t = L();
          return (e instanceof HTMLLinkElement &&
            !(function (e) {
              if (e.startsWith("data:")) return !0;
              var t = le(e);
              return (
                t.protocol === location.protocol &&
                t.hostname === location.hostname &&
                t.port === location.port &&
                t.pathname === location.pathname
              );
            })(e.href) &&
            w(t, !1)) ||
            w(t, !0)
            ? null
            : t;
        }
        function E() {
          c
            ? (e.nextSibling !== c &&
                e.parentNode.insertBefore(c, e.nextSibling),
              c.nextSibling !== u &&
                e.parentNode.insertBefore(u, c.nextSibling))
            : e.nextSibling !== u &&
              e.parentNode.insertBefore(u, e.nextSibling);
        }
        var S = !1,
          x = !1,
          C = ++Dr;
        function O() {
          return d(this, void 0, void 0, function () {
            var t, r, n, o, a, i, u;
            return f(this, function (l) {
              switch (l.label) {
                case 0:
                  if (!(e instanceof HTMLLinkElement)) return [3, 7];
                  if (
                    ((n = p(A(), 2)),
                    (o = n[0]),
                    (a = n[1]),
                    !(
                      (_ && !e.sheet) ||
                      (!_ && !o && !a) ||
                      ((d = a), d && d.message && d.message.includes("loading"))
                    ))
                  )
                    return [3, 5];
                  l.label = 1;
                case 1:
                  return l.trys.push([1, 3, , 4]), [4, Br(e, C)];
                case 2:
                  return l.sent(), [3, 4];
                case 3:
                  return l.sent(), (x = !0), [3, 4];
                case 4:
                  if (h) return [2, null];
                  (u = p(A(), 2)), (o = u[0]), (a = u[1]), (l.label = 5);
                case 5:
                  return o && !w(o, !1) ? [2, o] : [4, qr(e.href)];
                case 6:
                  return (
                    (t = l.sent()), (r = ye(e.href)), h ? [2, null] : [3, 8]
                  );
                case 7:
                  if (!y()) return [2, null];
                  (t = e.textContent.trim()),
                    (r = ye(location.href)),
                    (l.label = 8);
                case 8:
                  if (!t) return [3, 13];
                  l.label = 9;
                case 9:
                  return l.trys.push([9, 11, , 12]), [4, Wr(t, r)];
                case 10:
                  return (
                    (i = l.sent()),
                    (c = (function (e, t) {
                      if (!t) return null;
                      var r = document.createElement("style");
                      return (
                        r.classList.add("darkreader"),
                        r.classList.add("darkreader--cors"),
                        (r.media = "screen"),
                        (r.textContent = t),
                        e.parentNode.insertBefore(r, e.nextSibling),
                        (r.sheet.disabled = !0),
                        Pr.add(r),
                        r
                      );
                    })(e, i)),
                    [3, 12]
                  );
                case 11:
                  return l.sent(), [3, 12];
                case 12:
                  if (c)
                    return (s = Q(c, "prev-sibling")), [2, c.sheet.cssRules];
                  l.label = 13;
                case 13:
                  return [2, null];
              }
              var d;
            });
          });
        }
        var T = !1;
        function A() {
          try {
            return null == e.sheet ? [null, null] : [e.sheet.cssRules, null];
          } catch (t) {
            return [null, t];
          }
        }
        function L() {
          var e = p(A(), 2),
            t = e[0];
          return e[1] ? null : t;
        }
        function R() {
          e.addEventListener("__darkreader__updateSheet", D, { passive: !0 }),
            (Nr && e.sheet) ||
              ((V = M()),
              P(),
              (function t() {
                M() !== V && ((V = M()), r()),
                  Nr && e.sheet ? P() : (j = requestAnimationFrame(t));
              })());
        }
        var V = null,
          j = null;
        function M() {
          var e = L();
          return e ? e.length : null;
        }
        function P() {
          cancelAnimationFrame(j);
        }
        var N = !1;
        function D() {
          function e() {
            (N = !1), h || r();
          }
          (Nr = !0),
            P(),
            N ||
              ((N = !0),
              "function" === typeof queueMicrotask
                ? queueMicrotask(e)
                : requestAnimationFrame(e));
        }
        function I() {
          e.removeEventListener("__darkreader__updateSheet", D), P();
        }
        function F() {
          m.disconnect(), (h = !0), s && s.stop(), l && l.stop(), I();
        }
        var B = 0;
        return {
          details: function (e) {
            var t = k();
            return t
              ? { rules: t }
              : (e.secondRound ||
                  S ||
                  x ||
                  ((S = !0),
                  n(),
                  O()
                    .then(function (e) {
                      (S = !1), o(), e && r();
                    })
                    .catch(function (e) {
                      (S = !1), o();
                    })),
                null);
          },
          render: function (t, n) {
            var o = k();
            function a() {
              return (
                u ||
                  ((u =
                    e instanceof SVGStyleElement
                      ? document.createElementNS(
                          "http://www.w3.org/2000/svg",
                          "style"
                        )
                      : document.createElement("style")).classList.add(
                    "darkreader"
                  ),
                  u.classList.add("darkreader--sync"),
                  (u.media = "screen"),
                  e.title && (u.title = e.title),
                  Mr.add(u)),
                l && l.stop(),
                E(),
                null == u.sheet && (u.textContent = ""),
                (function (e) {
                  if (e)
                    for (var t = e.cssRules.length - 1; t >= 0; t--)
                      e.deleteRule(t);
                })(u.sheet),
                l
                  ? l.run()
                  : (l = Q(u, "prev-sibling", function () {
                      (T = !0), i();
                    })),
                u.sheet
              );
            }
            function i() {
              var e = T;
              (T = !1),
                g.modifySheet({
                  prepareSheet: a,
                  sourceCSSRules: o,
                  theme: t,
                  ignoreImageAnalysis: n,
                  force: e,
                  isAsyncCancelled: function () {
                    return h;
                  },
                }),
                (v = 0 === u.sheet.cssRules.length),
                g.shouldRebuildStyle() &&
                  ne(function () {
                    return r();
                  });
            }
            o && ((h = !1), i());
          },
          pause: F,
          destroy: function () {
            if ((F(), z(c), z(u), o(), Ir.has(C))) {
              var e = Ir.get(C);
              Ir.delete(C), e && e();
            }
          },
          watch: function () {
            m.observe(e, b), e instanceof HTMLStyleElement && R();
          },
          restore: function () {
            u &&
              (++B > 10 ||
                (E(), s && s.skip(), l && l.skip(), v || ((T = !0), r())));
          },
        };
      }
      function Br(e, t) {
        return d(this, void 0, void 0, function () {
          return f(this, function (r) {
            return [
              2,
              new Promise(function (r, n) {
                var o = function () {
                    e.removeEventListener("load", a),
                      e.removeEventListener("error", i),
                      Ir.delete(t);
                  },
                  a = function () {
                    o(), r();
                  },
                  i = function () {
                    o(),
                      n(
                        "Linkelement "
                          .concat(t, " couldn't be loaded. ")
                          .concat(e.href)
                      );
                  };
                Ir.set(t, function () {
                  o(), n();
                }),
                  e.addEventListener("load", a, { passive: !0 }),
                  e.addEventListener("error", i, { passive: !0 }),
                  e.href || i();
              }),
            ];
          });
        });
      }
      function qr(e) {
        return d(this, void 0, void 0, function () {
          return f(this, function (t) {
            switch (t.label) {
              case 0:
                return e.startsWith("data:") ? [4, fetch(e)] : [3, 3];
              case 1:
                return [4, t.sent().text()];
              case 2:
                return [2, t.sent()];
              case 3:
                return [
                  4,
                  wt({
                    url: e,
                    responseType: "text",
                    mimeType: "text/css",
                    origin: window.location.origin,
                  }),
                ];
              case 4:
                return [2, t.sent()];
            }
          });
        });
      }
      function Wr(e, t, r) {
        return (
          void 0 === r && (r = new Map()),
          d(this, void 0, void 0, function () {
            var n, o, a, i, c, u, s, l, d, p;
            return f(this, function (f) {
              switch (f.label) {
                case 0:
                  (e = (function (e, t) {
                    return e.replace(ge, function (e) {
                      var r = be(e);
                      try {
                        return "url('".concat(de(t, r), "')");
                      } catch (n) {
                        return e;
                      }
                    });
                  })((e = (e = _e(e)).replace(ke, "")), t)),
                    (n = Ce(me, e)),
                    (f.label = 1);
                case 1:
                  f.trys.push([1, 10, 11, 12]),
                    (o = h(n)),
                    (a = o.next()),
                    (f.label = 2);
                case 2:
                  return a.done
                    ? [3, 9]
                    : ((i = a.value),
                      (c = be(
                        i
                          .substring(7)
                          .trim()
                          .replace(/;$/, "")
                          .replace(/screen$/, "")
                      )),
                      (u = de(t, c)),
                      (s = void 0),
                      r.has(u) ? ((s = r.get(u)), [3, 7]) : [3, 3]);
                case 3:
                  return f.trys.push([3, 6, , 7]), [4, qr(u)];
                case 4:
                  return (s = f.sent()), r.set(u, s), [4, Wr(s, ye(u), r)];
                case 5:
                  return (s = f.sent()), [3, 7];
                case 6:
                  return f.sent(), (s = ""), [3, 7];
                case 7:
                  (e = e.split(i).join(s)), (f.label = 8);
                case 8:
                  return (a = o.next()), [3, 2];
                case 9:
                  return [3, 12];
                case 10:
                  return (l = f.sent()), (d = { error: l }), [3, 12];
                case 11:
                  try {
                    a && !a.done && (p = o.return) && p.call(o);
                  } finally {
                    if (d) throw d.error;
                  }
                  return [7];
                case 12:
                  return [2, (e = e.trim())];
              }
            });
          })
        );
      }
      var Gr,
        Ur,
        Hr = [],
        $r = new Set(),
        Kr = new Map();
      function zr(e) {
        var t = e.tagName.toLowerCase();
        if (!t.includes("-")) {
          var r = e.getAttribute("is");
          if (!r) return;
          t = r;
        }
        Kr.has(t) ||
          (Kr.set(t, new Set()),
          (function (e) {
            return d(this, void 0, void 0, function () {
              return f(this, function (t) {
                return $r.has(e)
                  ? [2]
                  : [
                      2,
                      new Promise(function (t) {
                        window.customElements &&
                        "function" === typeof customElements.whenDefined
                          ? customElements.whenDefined(e).then(function () {
                              return t();
                            })
                          : Yr
                          ? (Xr.has(e) ? Xr.get(e).push(t) : Xr.set(e, [t]),
                            document.dispatchEvent(
                              new CustomEvent(
                                "__darkreader__addUndefinedResolver",
                                { detail: { tag: e } }
                              )
                            ))
                          : requestAnimationFrame(function r() {
                              var n = Kr.get(e);
                              n &&
                                n.size > 0 &&
                                (n.values().next().value.matches(":defined")
                                  ? t()
                                  : requestAnimationFrame(r));
                            });
                      }),
                    ];
              });
            });
          })(t).then(function () {
            if (Ur) {
              var e = Kr.get(t);
              Kr.delete(t), Ur(Array.from(e));
            }
          })),
          Kr.get(t).add(e);
      }
      function Qr(e) {
        C && U(e.querySelectorAll(":not(:defined)"), zr);
      }
      var Yr = !1;
      document.addEventListener(
        "__darkreader__inlineScriptsAllowed",
        function () {
          Yr = !0;
        },
        { once: !0, passive: !0 }
      );
      var Xr = new Map();
      function Jr(e) {
        Yr = !0;
        var t = e.detail.tag;
        if (($r.add(t), Xr.has(t))) {
          var r = Xr.get(t);
          Xr.delete(t),
            r.forEach(function (e) {
              return e();
            });
        }
      }
      function Zr(e, t, r) {
        en();
        var n = new Set(e),
          o = new WeakMap(),
          a = new WeakMap();
        function i(e) {
          o.set(e, e.previousElementSibling), a.set(e, e.nextElementSibling);
        }
        function c(e) {
          var r = e.createdStyles,
            c = e.removedStyles,
            u = e.movedStyles;
          r.forEach(function (e) {
            return i(e);
          }),
            u.forEach(function (e) {
              return i(e);
            }),
            c.forEach(function (e) {
              return (t = e), o.delete(t), void a.delete(t);
              var t;
            }),
            r.forEach(function (e) {
              return n.add(e);
            }),
            c.forEach(function (e) {
              return n.delete(e);
            }),
            r.size + c.size + u.size > 0 &&
              t({
                created: Array.from(r),
                removed: Array.from(c),
                moved: Array.from(u),
                updated: [],
              });
        }
        function u(e) {
          var t = e.additions,
            r = e.moves,
            n = e.deletions,
            o = new Set(),
            a = new Set(),
            i = new Set();
          t.forEach(function (e) {
            return jr(e).forEach(function (e) {
              return o.add(e);
            });
          }),
            n.forEach(function (e) {
              return jr(e).forEach(function (e) {
                return a.add(e);
              });
            }),
            r.forEach(function (e) {
              return jr(e).forEach(function (e) {
                return i.add(e);
              });
            }),
            c({ createdStyles: o, removedStyles: a, movedStyles: i }),
            t.forEach(function (e) {
              h(e), Qr(e);
            }),
            t.forEach(function (e) {
              return (
                !(!(t = e).tagName.includes("-") && !t.getAttribute("is")) &&
                zr(e)
              );
              var t;
            });
        }
        function s(e) {
          var t = new Set(jr(e)),
            r = new Set(),
            i = new Set(),
            u = new Set();
          t.forEach(function (e) {
            n.has(e) || r.add(e);
          }),
            n.forEach(function (e) {
              t.has(e) || i.add(e);
            }),
            t.forEach(function (e) {
              var t;
              r.has(e) ||
                i.has(e) ||
                ((t = e).previousElementSibling === o.get(t) &&
                  t.nextElementSibling === a.get(t)) ||
                u.add(e);
            }),
            c({ createdStyles: r, removedStyles: i, movedStyles: u }),
            h(e),
            Qr(e);
        }
        function l(e) {
          var r = new Set(),
            n = new Set();
          e.forEach(function (e) {
            var t = e.target;
            t.isConnected &&
              (Vr(t)
                ? r.add(t)
                : t instanceof HTMLLinkElement && t.disabled && n.add(t));
          }),
            r.size + n.size > 0 &&
              t({
                updated: Array.from(r),
                created: [],
                removed: Array.from(n),
                moved: [],
              });
        }
        function d(e) {
          if (!Gr.has(e)) {
            var t = ce(e, { onMinorMutations: u, onHugeMutations: s }),
              r = new MutationObserver(l);
            r.observe(e, {
              attributeFilter: ["rel", "disabled", "media", "href"],
              subtree: !0,
            }),
              Hr.push(t, r),
              Gr.add(e);
          }
        }
        function f(e) {
          var t = e.shadowRoot;
          null == t || Gr.has(t) || (d(t), r(t));
        }
        function h(e) {
          Y(e, f);
        }
        e.forEach(i),
          d(document),
          h(document.documentElement),
          (Ur = function (e) {
            var r = [];
            e.forEach(function (e) {
              return H(r, jr(e.shadowRoot));
            }),
              t({ created: r, updated: [], removed: [], moved: [] }),
              e.forEach(function (e) {
                var t = e.shadowRoot;
                null != t && (f(e), h(t), Qr(t));
              });
          }),
          document.addEventListener("__darkreader__isDefined", Jr, {
            passive: !0,
          }),
          Qr(document);
      }
      function en() {
        Hr.forEach(function (e) {
          return e.disconnect();
        }),
          Hr.splice(0, Hr.length),
          (Gr = new WeakSet()),
          (Ur = null),
          Kr.clear(),
          document.removeEventListener("__darkreader__isDefined", Jr);
      }
      var tn = new WeakMap(),
        rn = new WeakSet();
      function nn(e) {
        var t = !1;
        return {
          render: function (r, n) {
            e.adoptedStyleSheets.forEach(function (o) {
              if (!rn.has(o)) {
                var a = o.rules,
                  i = new CSSStyleSheet();
                Rr().modifySheet({
                  prepareSheet: function () {
                    for (var t = i.cssRules.length - 1; t >= 0; t--)
                      i.deleteRule(t);
                    return (
                      (function (t, r) {
                        var n = v([], p(e.adoptedStyleSheets), !1),
                          o = n.indexOf(t),
                          a = n.indexOf(r);
                        o !== a - 1 &&
                          (a >= 0 && n.splice(a, 1),
                          n.splice(o + 1, 0, r),
                          (e.adoptedStyleSheets = n));
                      })(o, i),
                      tn.set(o, i),
                      rn.add(i),
                      i
                    );
                  },
                  sourceCSSRules: a,
                  theme: r,
                  ignoreImageAnalysis: n,
                  force: !1,
                  isAsyncCancelled: function () {
                    return t;
                  },
                });
              }
            });
          },
          destroy: function () {
            t = !0;
            var r = v([], p(e.adoptedStyleSheets), !1);
            e.adoptedStyleSheets.forEach(function (e) {
              if (rn.has(e)) {
                var t = r.indexOf(e);
                t >= 0 && r.splice(t, 1), tn.delete(e), rn.delete(e);
              }
            }),
              (e.adoptedStyleSheets = r);
          },
        };
      }
      function on(e, t) {
        document.dispatchEvent(
          new CustomEvent("__darkreader__inlineScriptsAllowed")
        );
        var r = Object.getOwnPropertyDescriptor(
            CSSStyleSheet.prototype,
            "addRule"
          ),
          n = Object.getOwnPropertyDescriptor(
            CSSStyleSheet.prototype,
            "insertRule"
          ),
          o = Object.getOwnPropertyDescriptor(
            CSSStyleSheet.prototype,
            "deleteRule"
          ),
          a = Object.getOwnPropertyDescriptor(
            CSSStyleSheet.prototype,
            "removeRule"
          ),
          i = e
            ? Object.getOwnPropertyDescriptor(Document.prototype, "styleSheets")
            : null,
          c = t
            ? Object.getOwnPropertyDescriptor(
                CustomElementRegistry.prototype,
                "define"
              )
            : null,
          u = [
            "baidu.com",
            "baike.baidu.com",
            "ditu.baidu.com",
            "map.baidu.com",
            "maps.baidu.com",
            "haokan.baidu.com",
            "pan.baidu.com",
            "passport.baidu.com",
            "tieba.baidu.com",
            "www.baidu.com",
          ].includes(location.hostname),
          s = u
            ? Object.getOwnPropertyDescriptor(
                Element.prototype,
                "getElementsByTagName"
              )
            : null,
          l = "www.vy.no" === location.hostname,
          d = l
            ? Object.getOwnPropertyDescriptor(Node.prototype, "childNodes")
            : null,
          f = function (e) {
            customElements.whenDefined(e).then(function () {
              document.dispatchEvent(
                new CustomEvent("__darkreader__isDefined", {
                  detail: { tag: e },
                })
              );
            });
          },
          h = function (e) {
            return f(e.detail.tag);
          };
        document.addEventListener(
          "__darkreader__cleanUp",
          function f() {
            Object.defineProperty(CSSStyleSheet.prototype, "addRule", r),
              Object.defineProperty(CSSStyleSheet.prototype, "insertRule", n),
              Object.defineProperty(CSSStyleSheet.prototype, "deleteRule", o),
              Object.defineProperty(CSSStyleSheet.prototype, "removeRule", a),
              document.removeEventListener("__darkreader__cleanUp", f),
              document.removeEventListener(
                "__darkreader__addUndefinedResolver",
                h
              ),
              e && Object.defineProperty(Document.prototype, "styleSheets", i),
              t &&
                Object.defineProperty(
                  CustomElementRegistry.prototype,
                  "define",
                  c
                ),
              u &&
                Object.defineProperty(
                  Element.prototype,
                  "getElementsByTagName",
                  s
                ),
              l && Object.defineProperty(Node.prototype, "childNodes", d);
          },
          { passive: !0 }
        ),
          document.addEventListener("__darkreader__addUndefinedResolver", h, {
            passive: !0,
          });
        var g = new Event("__darkreader__updateSheet");
        Object.defineProperty(
          CSSStyleSheet.prototype,
          "addRule",
          Object.assign({}, r, {
            value: function (e, t, n) {
              return (
                r.value.call(this, e, t, n),
                !this.ownerNode ||
                  (this.ownerNode.classList &&
                    this.ownerNode.classList.contains("darkreader")) ||
                  this.ownerNode.dispatchEvent(g),
                -1
              );
            },
          })
        ),
          Object.defineProperty(
            CSSStyleSheet.prototype,
            "insertRule",
            Object.assign({}, n, {
              value: function (e, t) {
                var r = n.value.call(this, e, t);
                return (
                  !this.ownerNode ||
                    (this.ownerNode.classList &&
                      this.ownerNode.classList.contains("darkreader")) ||
                    this.ownerNode.dispatchEvent(g),
                  r
                );
              },
            })
          ),
          Object.defineProperty(
            CSSStyleSheet.prototype,
            "deleteRule",
            Object.assign({}, o, {
              value: function (e) {
                o.value.call(this, e),
                  !this.ownerNode ||
                    (this.ownerNode.classList &&
                      this.ownerNode.classList.contains("darkreader")) ||
                    this.ownerNode.dispatchEvent(g);
              },
            })
          ),
          Object.defineProperty(
            CSSStyleSheet.prototype,
            "removeRule",
            Object.assign({}, a, {
              value: function (e) {
                a.value.call(this, e),
                  !this.ownerNode ||
                    (this.ownerNode.classList &&
                      this.ownerNode.classList.contains("darkreader")) ||
                    this.ownerNode.dispatchEvent(g);
              },
            })
          ),
          e &&
            Object.defineProperty(
              Document.prototype,
              "styleSheets",
              Object.assign({}, i, {
                get: function () {
                  var e = this,
                    t = function () {
                      var t = v([], p(i.get.call(e)), !1).filter(function (e) {
                        return (
                          e.ownerNode &&
                          !(
                            e.ownerNode.classList &&
                            e.ownerNode.classList.contains("darkreader")
                          )
                        );
                      });
                      return (
                        (t.item = function (e) {
                          return t[e];
                        }),
                        Object.setPrototypeOf(t, StyleSheetList.prototype)
                      );
                    },
                    r = t();
                  return (r = new Proxy(r, {
                    get: function (e, r) {
                      return t()[r];
                    },
                  }));
                },
              })
            ),
          t &&
            Object.defineProperty(
              CustomElementRegistry.prototype,
              "define",
              Object.assign({}, c, {
                value: function (e, t, r) {
                  f(e), c.value.call(this, e, t, r);
                },
              })
            ),
          u &&
            Object.defineProperty(
              Element.prototype,
              "getElementsByTagName",
              Object.assign({}, s, {
                value: function (e) {
                  var t = this;
                  if ("style" !== e) return s.value.call(this, e);
                  var r = function () {
                      var r = s.value.call(t, e);
                      return Object.setPrototypeOf(
                        v([], p(r), !1).filter(function (e) {
                          return (
                            e &&
                            !(e.classList && e.classList.contains("darkreader"))
                          );
                        }),
                        NodeList.prototype
                      );
                    },
                    n = r();
                  return (n = new Proxy(n, {
                    get: function (e, t) {
                      return r()[Number(t) || t];
                    },
                  }));
                },
              })
            ),
          l &&
            Object.defineProperty(
              Node.prototype,
              "childNodes",
              Object.assign({}, d, {
                get: function () {
                  var e = d.get.call(this);
                  return Object.setPrototypeOf(
                    v([], p(e), !1).filter(function (e) {
                      return (
                        !e.classList || !e.classList.contains("darkreader")
                      );
                    }),
                    NodeList.prototype
                  );
                },
              })
            );
      }
      var an = null,
        cn = !document.hidden,
        un = { capture: !0, passive: !0 };
      function sn(e) {
        var t = Boolean(an);
        (an = function () {
          document.hidden || (ln(), e(), (cn = !0));
        }),
          t ||
            (document.addEventListener("visibilitychange", an, un),
            window.addEventListener("pageshow", an, un),
            window.addEventListener("focus", an, un));
      }
      function ln() {
        document.removeEventListener("visibilitychange", an, un),
          window.removeEventListener("pageshow", an, un),
          window.removeEventListener("focus", an, un),
          (an = null);
      }
      function dn() {
        return cn;
      }
      var fn = mt(),
        hn = new Map(),
        pn = [],
        vn = null,
        gn = null,
        mn = null,
        bn = [],
        yn = [];
      function wn(e, t) {
        void 0 === t && (t = document.head || document);
        var r = t.querySelector(".".concat(e));
        return (
          r ||
            ((r = document.createElement("style")).classList.add("darkreader"),
            r.classList.add(e),
            (r.media = "screen"),
            (r.textContent = "")),
          r
        );
      }
      var _n = new Map();
      function kn(e, t) {
        _n.has(t) && _n.get(t).stop(), _n.set(t, Q(e, "head"));
      }
      function En() {
        var e = wn("darkreader--fallback", document);
        (e.textContent = Ft(vn, { strict: !0 })),
          document.head.insertBefore(e, document.head.firstChild),
          kn(e, "fallback");
        var t = wn("darkreader--user-agent");
        (t.textContent = Dt(vn, mn, vn.styleSystemControls)),
          document.head.insertBefore(t, e.nextSibling),
          kn(t, "user-agent");
        var r = wn("darkreader--text");
        vn.useFont || vn.textStroke > 0
          ? (r.textContent = (function (e) {
              var t = [];
              return (
                t.push(
                  '*:not(pre, pre *, code, .far, .fa, .glyphicon, [class*="vjs-"], .fab, .fa-github, .fas, .material-icons, .icofont, .typcn, mu, [class*="mu-"], .glyphicon, .icon) {'
                ),
                e.useFont &&
                  e.fontFamily &&
                  t.push(
                    "  font-family: ".concat(e.fontFamily, " !important;")
                  ),
                e.textStroke > 0 &&
                  (t.push(
                    "  -webkit-text-stroke: ".concat(
                      e.textStroke,
                      "px !important;"
                    )
                  ),
                  t.push(
                    "  text-stroke: ".concat(e.textStroke, "px !important;")
                  )),
                t.push("}"),
                t.join("\n")
              );
            })(vn))
          : (r.textContent = ""),
          document.head.insertBefore(r, e.nextSibling),
          kn(r, "text");
        var n = wn("darkreader--invert");
        gn && Array.isArray(gn.invert) && gn.invert.length > 0
          ? (n.textContent = [
              "".concat(gn.invert.join(", "), " {"),
              "    filter: ".concat(
                gt(
                  l(l({}, vn), {
                    contrast:
                      0 === vn.mode
                        ? vn.contrast
                        : ze(vn.contrast - 10, 0, 100),
                  })
                ),
                " !important;"
              ),
              "}",
            ].join("\n"))
          : (n.textContent = ""),
          document.head.insertBefore(n, r.nextSibling),
          kn(n, "invert");
        var o = wn("darkreader--inline");
        (o.textContent = mr()),
          document.head.insertBefore(o, n.nextSibling),
          kn(o, "inline");
        var a = wn("darkreader--override");
        (a.textContent = gn && gn.css ? On(gn.css) : ""),
          document.head.appendChild(a),
          kn(a, "override");
        var i = wn("darkreader--variables"),
          c = It(vn),
          u = vn,
          s = u.darkSchemeBackgroundColor,
          d = u.darkSchemeTextColor,
          f = u.lightSchemeBackgroundColor,
          h = u.lightSchemeTextColor,
          p = u.mode,
          v = 0 === p ? f : s,
          g = 0 === p ? h : d;
        (v = st(Le(v), vn)),
          (g = ft(Le(g), vn)),
          (i.textContent = [
            ":root {",
            "   --darkreader-neutral-background: ".concat(v, ";"),
            "   --darkreader-neutral-text: ".concat(g, ";"),
            "   --darkreader-selection-background: ".concat(
              c.backgroundColorSelection,
              ";"
            ),
            "   --darkreader-selection-text: ".concat(
              c.foregroundColorSelection,
              ";"
            ),
            "}",
          ].join("\n")),
          document.head.insertBefore(i, o.nextSibling),
          kn(i, "variables");
        var m = wn("darkreader--root-vars");
        document.head.insertBefore(m, i.nextSibling);
        var b = !(gn && gn.disableStyleSheetsProxy),
          y = !(gn && gn.disableCustomElementRegistryProxy),
          w = (function (e, t) {
            void 0 === t && (t = document.head || document);
            var r = t.querySelector(".".concat(e));
            return (
              r ||
                ((r = document.createElement("script")).classList.add(
                  "darkreader"
                ),
                r.classList.add(e)),
              r
            );
          })("darkreader--proxy");
        w.append("(".concat(on, ")(").concat(b, ", ").concat(y, ")")),
          document.head.insertBefore(w, m.nextSibling),
          w.remove();
      }
      var Sn = new Set();
      function xn(e) {
        var t = wn("darkreader--inline", e);
        (t.textContent = mr()), e.insertBefore(t, e.firstChild);
        var r = wn("darkreader--override", e);
        (r.textContent = gn && gn.css ? On(gn.css) : ""),
          e.insertBefore(r, t.nextSibling);
        var n = wn("darkreader--invert", e);
        gn && Array.isArray(gn.invert) && gn.invert.length > 0
          ? (n.textContent = [
              "".concat(gn.invert.join(", "), " {"),
              "    filter: ".concat(
                gt(
                  l(l({}, vn), {
                    contrast:
                      0 === vn.mode
                        ? vn.contrast
                        : ze(vn.contrast - 10, 0, 100),
                  })
                ),
                " !important;"
              ),
              "}",
            ].join("\n"))
          : (n.textContent = ""),
          e.insertBefore(n, r.nextSibling),
          Sn.add(e);
      }
      function Cn(e) {
        var t = null === e.firstChild;
        xn(e),
          t &&
            (function (e) {
              new MutationObserver(function (t, r) {
                var n, o, a, i;
                r.disconnect();
                try {
                  for (var c = h(t), u = c.next(); !u.done; u = c.next()) {
                    var s = u.value,
                      l = s.type,
                      d = s.removedNodes;
                    if ("childList" === l)
                      try {
                        for (
                          var f = ((a = void 0), h(d)), p = f.next();
                          !p.done;
                          p = f.next()
                        ) {
                          var v = p.value,
                            g = v.nodeName,
                            m = v.className;
                          if (
                            "STYLE" === g &&
                            [
                              "darkreader darkreader--inline",
                              "darkreader darkreader--override",
                              "darkreader darkreader--invert",
                            ].includes(m)
                          )
                            return void xn(e);
                        }
                      } catch (b) {
                        a = { error: b };
                      } finally {
                        try {
                          p && !p.done && (i = f.return) && i.call(f);
                        } finally {
                          if (a) throw a.error;
                        }
                      }
                  }
                } catch (y) {
                  n = { error: y };
                } finally {
                  try {
                    u && !u.done && (o = c.return) && o.call(c);
                  } finally {
                    if (n) throw n.error;
                  }
                }
              }).observe(e, { childList: !0 });
            })(e);
      }
      function On(e) {
        return e.replace(/\${(.+?)}/g, function (e, t) {
          var r = Le(t);
          return r ? ot(r, vn, at) : t;
        });
      }
      function Tn() {
        var e = document.querySelector(".darkreader--fallback");
        e && (e.textContent = "");
      }
      var An = 0,
        Ln = new Set();
      function Rn(e) {
        var t = ++An,
          r = Fr(e, {
            update: function () {
              var e = r.details({ secondRound: !0 });
              e &&
                (Kt.addRulesForMatching(e.rules),
                Kt.matchVariablesAndDependents(),
                r.render(vn, bn));
            },
            loadingStart: function () {
              if (!X() || !dn()) {
                Ln.add(t), "Current amount of styles loading: ".concat(Ln.size);
                var e = document.querySelector(".darkreader--fallback");
                e.textContent || (e.textContent = Ft(vn, { strict: !1 }));
              }
            },
            loadingEnd: function () {
              Ln.delete(t),
                "Removed loadingStyle "
                  .concat(t, ", now awaiting: ")
                  .concat(Ln.size),
                0 === Ln.size && X() && Tn();
            },
          });
        return hn.set(e, r), r;
      }
      function Vn(e) {
        var t = hn.get(e);
        t && (t.destroy(), hn.delete(e));
      }
      var jn,
        Mn = $(function (e) {
          hn.forEach(function (e) {
            return e.render(vn, bn);
          }),
            pn.forEach(function (e) {
              return e.render(vn, bn);
            }),
            e && e();
        }),
        Pn = function () {
          Mn.cancel();
        };
      function Nn() {
        0 !== Ln.size || Tn();
      }
      function Dn() {
        !(function () {
          Pn();
          var e = jr(document)
            .filter(function (e) {
              return !hn.has(e);
            })
            .map(function (e) {
              return Rn(e);
            });
          e
            .map(function (e) {
              return e.details({ secondRound: !1 });
            })
            .filter(function (e) {
              return e && e.rules.length > 0;
            })
            .forEach(function (e) {
              Kt.addRulesForMatching(e.rules);
            }),
            Kt.matchVariablesAndDependents(),
            Kt.setOnRootVariableChange(function () {
              var e = wn("darkreader--root-vars");
              Kt.putRootVars(e, vn);
            });
          var t = wn("darkreader--root-vars");
          Kt.putRootVars(t, vn),
            hn.forEach(function (e) {
              return e.render(vn, bn);
            }),
            0 === Ln.size && Tn(),
            e.forEach(function (e) {
              return e.watch();
            });
          var r = (function (e) {
            for (var t = [], r = 0, n = e.length; r < n; r++) t.push(e[r]);
            return t;
          })(document.querySelectorAll(gr));
          Y(document.documentElement, function (e) {
            Cn(e.shadowRoot);
            var t = e.shadowRoot.querySelectorAll(gr);
            t.length > 0 && H(r, t);
          }),
            r.forEach(function (e) {
              return Sr(e, vn, yn, bn);
            }),
            Fn(document);
        })(),
          (function () {
            var e, t;
            Zr(
              Array.from(hn.keys()),
              function (e) {
                var t = e.created,
                  r = e.updated,
                  n = e.removed,
                  o = e.moved,
                  a = n,
                  i = t
                    .concat(r)
                    .concat(o)
                    .filter(function (e) {
                      return !hn.has(e);
                    }),
                  c = o.filter(function (e) {
                    return hn.has(e);
                  });
                a.forEach(function (e) {
                  return Vn(e);
                });
                var u = i.map(function (e) {
                  return Rn(e);
                });
                u
                  .map(function (e) {
                    return e.details({ secondRound: !1 });
                  })
                  .filter(function (e) {
                    return e && e.rules.length > 0;
                  })
                  .forEach(function (e) {
                    Kt.addRulesForMatching(e.rules);
                  }),
                  Kt.matchVariablesAndDependents(),
                  u.forEach(function (e) {
                    return e.render(vn, bn);
                  }),
                  u.forEach(function (e) {
                    return e.watch();
                  }),
                  c.forEach(function (e) {
                    return hn.get(e).restore();
                  });
              },
              function (e) {
                Cn(e), Fn(e);
              }
            ),
              (e = function (e) {
                if (
                  (Sr(e, vn, yn, bn),
                  e === document.documentElement &&
                    (e.getAttribute("style") || "").includes("--"))
                ) {
                  Kt.matchVariablesAndDependents();
                  var t = wn("darkreader--root-vars");
                  Kt.putRootVars(t, vn);
                }
              }),
              (t = function (e) {
                Cn(e);
                var t = e.querySelectorAll(gr);
                t.length > 0 &&
                  U(t, function (e) {
                    return Sr(e, vn, yn, bn);
                  });
              }),
              wr(document, e, t),
              Y(document.documentElement, function (r) {
                wr(r.shadowRoot, e, t);
              }),
              Z(Nn);
          })();
      }
      function In() {
        En(),
          dn() || vn.immediateModify ? Dn() : sn(Dn),
          (function (e) {
            var t = document.querySelector(xr);
            t
              ? Tr(t, e)
              : (Or && Or.disconnect(),
                (Or = new MutationObserver(function (t) {
                  e: for (var r = 0; r < t.length; r++)
                    for (var n = t[r].addedNodes, o = 0; o < n.length; o++) {
                      var a = n[o];
                      if (
                        a instanceof HTMLMetaElement &&
                        "theme-color" === a.name
                      ) {
                        Or.disconnect(), (Or = null), Tr(a, e);
                        break e;
                      }
                    }
                })).observe(document.head, { childList: !0 }));
          })(vn);
      }
      function Fn(e) {
        try {
          if (
            Array.isArray(e.adoptedStyleSheets) &&
            e.adoptedStyleSheets.length > 0
          ) {
            var t = nn(e);
            pn.push(t), t.render(vn, bn);
          }
        } catch (r) {}
      }
      function Bn() {
        hn.forEach(function (e) {
          return e.pause();
        }),
          U(_n.values(), function (e) {
            return e.stop();
          }),
          _n.clear(),
          en(),
          br.forEach(function (e) {
            return e.disconnect();
          }),
          yr.forEach(function (e) {
            return e.disconnect();
          }),
          br.clear(),
          yr.clear(),
          ee(Nn),
          re.clear();
      }
      function qn() {
        if (document.querySelector('meta[name="darkreader-lock"]')) return !0;
        var e = document.querySelector('meta[name="darkreader"]');
        return e
          ? e.content !== fn
          : ((function () {
              var e = document.createElement("meta");
              (e.name = "darkreader"),
                (e.content = fn),
                document.head.appendChild(e);
            })(),
            (jn = new MutationObserver(function () {
              document.querySelector('meta[name="darkreader-lock"]') &&
                (jn.disconnect(), Gn());
            })).observe(document.head, { childList: !0, subtree: !0 }),
            !1);
      }
      function Wn(e, t, r) {
        if (
          ((vn = e),
          (gn = t)
            ? ((bn = Array.isArray(gn.ignoreImageAnalysis)
                ? gn.ignoreImageAnalysis
                : []),
              (yn = Array.isArray(gn.ignoreInlineStyle)
                ? gn.ignoreInlineStyle
                : []))
            : ((bn = []), (yn = [])),
          vn.immediateModify &&
            (X = function () {
              return !0;
            }),
          (mn = r),
          document.head)
        ) {
          if (qn()) return void Gn();
          document.documentElement.setAttribute(
            "data-darkreader-mode",
            "dynamic"
          ),
            document.documentElement.setAttribute(
              "data-darkreader-scheme",
              vn.mode ? "dark" : "dimmed"
            ),
            In();
        } else {
          if (!w) {
            var n = wn("darkreader--fallback");
            document.documentElement.appendChild(n),
              (n.textContent = Ft(vn, { strict: !0 }));
          }
          var o = new MutationObserver(function () {
            if (document.head) {
              if ((o.disconnect(), qn())) return void Gn();
              In();
            }
          });
          o.observe(document, { childList: !0, subtree: !0 });
        }
      }
      function Gn() {
        document.documentElement.removeAttribute("data-darkreader-mode"),
          document.documentElement.removeAttribute("data-darkreader-scheme"),
          Kt.clear(),
          ue.clear(),
          ln(),
          Pn(),
          Bn(),
          $t(),
          Te.clear(),
          Ae.clear(),
          z(document.querySelector(".darkreader--fallback")),
          document.head &&
            ((function () {
              Or && (Or.disconnect(), (Or = null));
              var e = document.querySelector(xr);
              e && Cr && (e.content = Cr);
            })(),
            z(document.head.querySelector(".darkreader--user-agent")),
            z(document.head.querySelector(".darkreader--text")),
            z(document.head.querySelector(".darkreader--invert")),
            z(document.head.querySelector(".darkreader--inline")),
            z(document.head.querySelector(".darkreader--override")),
            z(document.head.querySelector(".darkreader--variables")),
            z(document.head.querySelector(".darkreader--root-vars")),
            z(document.head.querySelector('meta[name="darkreader"]')),
            document.dispatchEvent(new CustomEvent("__darkreader__cleanUp")),
            z(document.head.querySelector(".darkreader--proxy"))),
          Sn.forEach(function (e) {
            z(e.querySelector(".darkreader--inline")),
              z(e.querySelector(".darkreader--override"));
          }),
          Sn.clear(),
          U(hn.keys(), function (e) {
            return Vn(e);
          }),
          Ln.clear(),
          Ir.clear(),
          U(document.querySelectorAll(".darkreader"), z),
          pn.forEach(function (e) {
            e.destroy();
          }),
          pn.splice(0),
          jn && jn.disconnect();
      }
      var Un = /url\(\"(blob\:.*?)\"\)/g;
      function Hn(e) {
        return d(this, void 0, void 0, function () {
          var t, r;
          return f(this, function (n) {
            switch (n.label) {
              case 0:
                return (
                  (t = []),
                  Ce(Un, e, 1).forEach(function (e) {
                    var r = A(e);
                    t.push(r);
                  }),
                  [4, Promise.all(t)]
                );
              case 1:
                return (
                  (r = n.sent()),
                  [
                    2,
                    e.replace(Un, function () {
                      return 'url("'.concat(r.shift(), '")');
                    }),
                  ]
                );
            }
          });
        });
      }
      function $n() {
        return d(this, void 0, void 0, function () {
          function e(e, r) {
            var n = document.querySelector(e);
            n &&
              n.textContent &&
              (t.push("/* ".concat(r, " */")),
              t.push(n.textContent),
              t.push(""));
          }
          var t, r, n, o, a;
          return f(this, function (i) {
            switch (i.label) {
              case 0:
                return (
                  (t = [
                    '/*\n                        _______\n                       /       \\\n                      .==.    .==.\n                     ((  ))==((  ))\n                    / "=="    "=="\\\n                   /____|| || ||___\\\n       ________     ____    ________  ___    ___\n       |  ___  \\   /    \\   |  ___  \\ |  |  /  /\n       |  |  \\  \\ /  /\\  \\  |  |  \\  \\|  |_/  /\n       |  |   )  /  /__\\  \\ |  |__/  /|  ___  \\\n       |  |__/  /  ______  \\|  ____  \\|  |  \\  \\\n_______|_______/__/ ____ \\__\\__|___\\__\\__|___\\__\\____\n|  ___  \\ |  ____/ /    \\   |  ___  \\ |  ____|  ___  \\\n|  |  \\  \\|  |___ /  /\\  \\  |  |  \\  \\|  |___|  |  \\  \\\n|  |__/  /|  ____/  /__\\  \\ |  |   )  |  ____|  |__/  /\n|  ____  \\|  |__/  ______  \\|  |__/  /|  |___|  ____  \\\n|__|   \\__\\____/__/      \\__\\_______/ |______|__|   \\__\\\n                https://darkreader.org\n*/\n\n/*! Dark reader generated CSS | Licensed under MIT https://github.com/darkreader/darkreader/blob/main/LICENSE */\n',
                  ]),
                  e(".darkreader--fallback", "Fallback Style"),
                  e(".darkreader--user-agent", "User-Agent Style"),
                  e(".darkreader--text", "Text Style"),
                  e(".darkreader--invert", "Invert Style"),
                  e(".darkreader--variables", "Variables Style"),
                  (r = []),
                  document
                    .querySelectorAll(".darkreader--sync")
                    .forEach(function (e) {
                      U(e.sheet.cssRules, function (e) {
                        e && e.cssText && r.push(e.cssText);
                      });
                    }),
                  r.length
                    ? ((n = (function (e) {
                        function t(e) {
                          return e.replace(/^\s+/, "");
                        }
                        function r(e) {
                          return 0 === e ? "" : " ".repeat(4 * e);
                        }
                        if (e.length < 5e4)
                          for (var n = /[^{}]+{\s*}/; n.test(e); )
                            e = e.replace(n, "");
                        for (
                          var o = e
                              .replace(/\s{2,}/g, " ")
                              .replace(/\{/g, "{\n")
                              .replace(/\}/g, "\n}\n")
                              .replace(/\;(?![^\(|\"]*(\)|\"))/g, ";\n")
                              .replace(/\,(?![^\(|\"]*(\)|\"))/g, ",\n")
                              .replace(/\n\s*\n/g, "\n")
                              .split("\n"),
                            a = 0,
                            i = [],
                            c = 0,
                            u = o.length;
                          c < u;
                          c++
                        ) {
                          var s = "".concat(o[c], "\n");
                          s.includes("{")
                            ? i.push(r(a++) + t(s))
                            : s.includes("}")
                            ? i.push(r(--a) + t(s))
                            : i.push(r(a) + t(s));
                        }
                        return i.join("").trim();
                      })(r.join("\n"))),
                      t.push("/* Modified CSS */"),
                      (a = (o = t).push),
                      [4, Hn(n)])
                    : [3, 2]
                );
              case 1:
                a.apply(o, [i.sent()]), t.push(""), (i.label = 2);
              case 2:
                return (
                  e(".darkreader--override", "Override Style"),
                  [2, t.join("\n")]
                );
            }
          });
        });
      }
      var Kn = !1,
        zn = (function () {
          try {
            return window.self !== window.top;
          } catch (e) {
            return console.warn(e), !0;
          }
        })();
      function Qn(e, t) {
        void 0 === e && (e = {}), void 0 === t && (t = null);
        var r = l(l({}, G), e);
        if (r.engine !== M.dynamicTheme)
          throw new Error("Theme engine is not supported.");
        Wn(r, t, zn), (Kn = !0);
      }
      function Yn() {
        Gn(), (Kn = !1);
      }
      var Xn = matchMedia("(prefers-color-scheme: dark)"),
        Jn = { themeOptions: null, fixes: null };
      function Zn() {
        Xn.matches ? Qn(Jn.themeOptions, Jn.fixes) : Yn();
      }
      var eo = function (e) {
        V = e || R;
      };
      (e.auto = function (e, t) {
        void 0 === e && (e = {}),
          void 0 === t && (t = null),
          e
            ? ((Jn = { themeOptions: e, fixes: t }),
              Zn(),
              x ? Xn.addEventListener("change", Zn) : Xn.addListener(Zn))
            : (x ? Xn.removeEventListener("change", Zn) : Xn.removeListener(Zn),
              Yn());
      }),
        (e.disable = Yn),
        (e.enable = Qn),
        (e.exportGeneratedCSS = function () {
          return d(this, void 0, void 0, function () {
            return f(this, function (e) {
              switch (e.label) {
                case 0:
                  return [4, $n()];
                case 1:
                  return [2, e.sent()];
              }
            });
          });
        }),
        (e.isEnabled = function () {
          return Kn;
        }),
        (e.setFetchMethod = eo),
        Object.defineProperty(e, "__esModule", { value: !0 });
    })(t);
  },
  11: function (module, __webpack_exports__, __webpack_require__) {
    "use strict";
    __webpack_require__.d(__webpack_exports__, "g", function () {
      return loadJS;
    }),
      __webpack_require__.d(__webpack_exports__, "d", function () {
        return getConfig;
      }),
      __webpack_require__.d(__webpack_exports__, "j", function () {
        return setAttrByLabel;
      }),
      __webpack_require__.d(__webpack_exports__, "e", function () {
        return getDataAndKeys;
      }),
      __webpack_require__.d(__webpack_exports__, "k", function () {
        return setGlobalVariableValue;
      }),
      __webpack_require__.d(__webpack_exports__, "c", function () {
        return formatValue;
      }),
      __webpack_require__.d(__webpack_exports__, "b", function () {
        return ensureArray;
      }),
      __webpack_require__.d(__webpack_exports__, "f", function () {
        return getEditorData;
      }),
      __webpack_require__.d(__webpack_exports__, "l", function () {
        return setPanelStateByName;
      }),
      __webpack_require__.d(__webpack_exports__, "i", function () {
        return randomString;
      }),
      __webpack_require__.d(__webpack_exports__, "h", function () {
        return raiseEvent;
      }),
      __webpack_require__.d(__webpack_exports__, "a", function () {
        return addToRepeater;
      });
    var D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__ =
        __webpack_require__(19),
      scriptjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(61),
      scriptjs__WEBPACK_IMPORTED_MODULE_1___default = __webpack_require__.n(
        scriptjs__WEBPACK_IMPORTED_MODULE_1__
      ),
      _antv_util__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(46);
    function _regeneratorRuntime() {
      _regeneratorRuntime = function () {
        return t;
      };
      var e,
        t = {},
        r = Object.prototype,
        n = r.hasOwnProperty,
        o =
          Object.defineProperty ||
          function (e, t, r) {
            e[t] = r.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        i = a.iterator || "@@iterator",
        c = a.asyncIterator || "@@asyncIterator",
        u = a.toStringTag || "@@toStringTag";
      function s(e, t, r) {
        return (
          Object.defineProperty(e, t, {
            value: r,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        s({}, "");
      } catch (e) {
        s = function (e, t, r) {
          return (e[t] = r);
        };
      }
      function l(e, t, r, n) {
        var a = t && t.prototype instanceof g ? t : g,
          i = Object.create(a.prototype),
          c = new A(n || []);
        return o(i, "_invoke", { value: x(e, r, c) }), i;
      }
      function d(e, t, r) {
        try {
          return { type: "normal", arg: e.call(t, r) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = l;
      var f = "suspendedStart",
        h = "executing",
        p = "completed",
        v = {};
      function g() {}
      function m() {}
      function b() {}
      var y = {};
      s(y, i, function () {
        return this;
      });
      var w = Object.getPrototypeOf,
        _ = w && w(w(L([])));
      _ && _ !== r && n.call(_, i) && (y = _);
      var k = (b.prototype = g.prototype = Object.create(y));
      function E(e) {
        ["next", "throw", "return"].forEach(function (t) {
          s(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function S(e, t) {
        function r(o, a, i, c) {
          var u = d(e[o], e, a);
          if ("throw" !== u.type) {
            var s = u.arg,
              l = s.value;
            return l && "object" == typeof l && n.call(l, "__await")
              ? t.resolve(l.__await).then(
                  function (e) {
                    r("next", e, i, c);
                  },
                  function (e) {
                    r("throw", e, i, c);
                  }
                )
              : t.resolve(l).then(
                  function (e) {
                    (s.value = e), i(s);
                  },
                  function (e) {
                    return r("throw", e, i, c);
                  }
                );
          }
          c(u.arg);
        }
        var a;
        o(this, "_invoke", {
          value: function (e, n) {
            function o() {
              return new t(function (t, o) {
                r(e, n, t, o);
              });
            }
            return (a = a ? a.then(o, o) : o());
          },
        });
      }
      function x(t, r, n) {
        var o = f;
        return function (a, i) {
          if (o === h) throw new Error("Generator is already running");
          if (o === p) {
            if ("throw" === a) throw i;
            return { value: e, done: !0 };
          }
          for (n.method = a, n.arg = i; ; ) {
            var c = n.delegate;
            if (c) {
              var u = C(c, n);
              if (u) {
                if (u === v) continue;
                return u;
              }
            }
            if ("next" === n.method) n.sent = n._sent = n.arg;
            else if ("throw" === n.method) {
              if (o === f) throw ((o = p), n.arg);
              n.dispatchException(n.arg);
            } else "return" === n.method && n.abrupt("return", n.arg);
            o = h;
            var s = d(t, r, n);
            if ("normal" === s.type) {
              if (((o = n.done ? p : "suspendedYield"), s.arg === v)) continue;
              return { value: s.arg, done: n.done };
            }
            "throw" === s.type &&
              ((o = p), (n.method = "throw"), (n.arg = s.arg));
          }
        };
      }
      function C(t, r) {
        var n = r.method,
          o = t.iterator[n];
        if (o === e)
          return (
            (r.delegate = null),
            ("throw" === n &&
              t.iterator.return &&
              ((r.method = "return"),
              (r.arg = e),
              C(t, r),
              "throw" === r.method)) ||
              ("return" !== n &&
                ((r.method = "throw"),
                (r.arg = new TypeError(
                  "The iterator does not provide a '" + n + "' method"
                )))),
            v
          );
        var a = d(o, t.iterator, r.arg);
        if ("throw" === a.type)
          return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), v;
        var i = a.arg;
        return i
          ? i.done
            ? ((r[t.resultName] = i.value),
              (r.next = t.nextLoc),
              "return" !== r.method && ((r.method = "next"), (r.arg = e)),
              (r.delegate = null),
              v)
            : i
          : ((r.method = "throw"),
            (r.arg = new TypeError("iterator result is not an object")),
            (r.delegate = null),
            v);
      }
      function O(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function T(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function A(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(O, this),
          this.reset(!0);
      }
      function L(t) {
        if (t || "" === t) {
          var r = t[i];
          if (r) return r.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var o = -1,
              a = function r() {
                for (; ++o < t.length; )
                  if (n.call(t, o)) return (r.value = t[o]), (r.done = !1), r;
                return (r.value = e), (r.done = !0), r;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(typeof t + " is not iterable");
      }
      return (
        (m.prototype = b),
        o(k, "constructor", { value: b, configurable: !0 }),
        o(b, "constructor", { value: m, configurable: !0 }),
        (m.displayName = s(b, u, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === m || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, b)
              : ((e.__proto__ = b), s(e, u, "GeneratorFunction")),
            (e.prototype = Object.create(k)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        E(S.prototype),
        s(S.prototype, c, function () {
          return this;
        }),
        (t.AsyncIterator = S),
        (t.async = function (e, r, n, o, a) {
          void 0 === a && (a = Promise);
          var i = new S(l(e, r, n, o), a);
          return t.isGeneratorFunction(r)
            ? i
            : i.next().then(function (e) {
                return e.done ? e.value : i.next();
              });
        }),
        E(k),
        s(k, u, "Generator"),
        s(k, i, function () {
          return this;
        }),
        s(k, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            r = [];
          for (var n in t) r.push(n);
          return (
            r.reverse(),
            function e() {
              for (; r.length; ) {
                var n = r.pop();
                if (n in t) return (e.value = n), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = L),
        (A.prototype = {
          constructor: A,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(T),
              !t)
            )
              for (var r in this)
                "t" === r.charAt(0) &&
                  n.call(this, r) &&
                  !isNaN(+r.slice(1)) &&
                  (this[r] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var r = this;
            function o(n, o) {
              return (
                (c.type = "throw"),
                (c.arg = t),
                (r.next = n),
                o && ((r.method = "next"), (r.arg = e)),
                !!o
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var i = this.tryEntries[a],
                c = i.completion;
              if ("root" === i.tryLoc) return o("end");
              if (i.tryLoc <= this.prev) {
                var u = n.call(i, "catchLoc"),
                  s = n.call(i, "finallyLoc");
                if (u && s) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                } else if (u) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                } else {
                  if (!s)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var r = this.tryEntries.length - 1; r >= 0; --r) {
              var o = this.tryEntries[r];
              if (
                o.tryLoc <= this.prev &&
                n.call(o, "finallyLoc") &&
                this.prev < o.finallyLoc
              ) {
                var a = o;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var i = a ? a.completion : {};
            return (
              (i.type = e),
              (i.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), v)
                : this.complete(i)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              v
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.finallyLoc === e)
                return this.complete(r.completion, r.afterLoc), T(r), v;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.tryLoc === e) {
                var n = r.completion;
                if ("throw" === n.type) {
                  var o = n.arg;
                  T(r);
                }
                return o;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, r, n) {
            return (
              (this.delegate = { iterator: L(t), resultName: r, nextLoc: n }),
              "next" === this.method && (this.arg = e),
              v
            );
          },
        }),
        t
      );
    }
    var $ = window.$,
      $axure = window.$axure,
      loadJS = function (e) {
        return new Promise(function (t) {
          return scriptjs__WEBPACK_IMPORTED_MODULE_1___default.a.get(
            e,
            function () {
              t(!0);
            }
          );
        });
      },
      replaceAll = function (e, t, r) {
        return (
          (t = t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g, "\\$1")),
          e.replace(new RegExp(t, "g"), r)
        );
      },
      bool = function (e) {
        return !(
          "false" === e ||
          0 === e ||
          null === e ||
          void 0 === e ||
          "" === e ||
          !1 === e
        );
      },
      getGlobalConfig = function () {
        if (window.acpGlobalConfig) return window.acpGlobalConfig;
        var e = {};
        return (
          window.$axure.internal(function (t) {
            t.pageData.variables.map(function (r) {
              (r = r.replaceAll("_", ".")),
                (e[r] = formatValue(
                  t.globalVariableProvider.getVariableValue(r)
                ));
            });
          }),
          (window.acpGlobalConfig = e),
          e
        );
      },
      getRepeater = function (e) {
        var t;
        return (
          window
            .$axure(function (e) {
              return "repeater" === e.type;
            })
            .each(function (r, n) {
              e === n && (t = r);
            }),
          t
        );
      },
      getConfig = function (e) {
        var t =
            arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {},
          r =
            arguments.length > 2 && void 0 !== arguments[2]
              ? arguments[2]
              : null;
        try {
          var n = {},
            o = r || getRepeaterRowsAndColumns(e).rows,
            a = t;
          return (
            r
              ? o.map(function (e) {
                  if (e.item) {
                    var t = a[e.item] || e.item;
                    n[t] = e.value;
                  }
                })
              : o.map(function (e) {
                  if (e.item) {
                    var t,
                      r =
                        a[e.item.text.trim().toLowerCase()] ||
                        e.item.text.trim();
                    if (e.value)
                      (t =
                        "image" === e.value.type
                          ? "./" + e.value.img.s0
                          : "page" === e.value.type
                          ? "./" + e.value.url
                          : e.value.text.trim()),
                        (n[r] = "code" !== r ? formatValue(t) : t);
                  }
                }),
            n
          );
        } catch (i) {
          return (
            console.error(i),
            console.log("Error\uff1aCan not get config by  " + e),
            null
          );
        }
      },
      getAnnotations = function (e, t) {
        try {
          var r = [],
            n = getRepeaterRowsAndColumns(e),
            o = n.rows,
            a = n.columns,
            i = t;
          return (
            a.map(function (e, t) {
              if (t > 0) {
                var n = {};
                o.map(function (t) {
                  if (t.option) {
                    var r =
                        i[t.option.text.trim().toLowerCase()] ||
                        t.option.text.trim(),
                      o = t[e].text.trim();
                    o && ((o = formatValue(o)), setAttrByLabel(n, r, o));
                  }
                }),
                  r.push(n);
              }
            }),
            r
          );
        } catch (c) {
          return (
            console.error(c),
            console.error("Error\uff1aCan not get annotations by  " + e),
            null
          );
        }
      },
      isIE = function () {
        return !(!window.ActiveXObject && !("ActiveXObject" in window));
      },
      setAttrByLabel = function (e, t, r) {
        var n = [];
        (n = t.split(".")).forEach(function (t, o, a) {
          if (t.endsWith("]")) {
            var i = /\[(\d+)\]$/.exec(t);
            if (i) {
              t = t.replace(i[0], "");
              var c = Number(i[1]);
              (e[t] && e[t].constructor === Array) || (e[t] = []),
                o == n.length - 1
                  ? (e[t][c] = r)
                  : ((e[t][c] && e[t][c].constructor === Object) ||
                      (e[t][c] = {}),
                    (e = e[t][c]));
            }
          } else o == n.length - 1 ? (e[t] = r) : ((e[t] && e[t].constructor === Object) || (e[t] = {}), (e = e[t]));
        });
      },
      getDataAndKeys = function (e) {
        var t = [],
          r = getRepeaterRowsAndColumns(e),
          n = r.rows,
          o = r.columns;
        return {
          data: n.map(function (e, r) {
            t = Object.getOwnPropertyNames(e);
            var n = {};
            return (
              t.map(function (t, r) {
                var o = e[t].text || null;
                e[t].img
                  ? (o = e[t].img.s0 || o)
                  : "page" === e[t].type && (o = "./" + e[t].url),
                  (n[t] = isNaN(o) || null === o ? o : Number(o)),
                  !r &&
                    isNaN(o) &&
                    (n[t] = n[t].replace(RegExp("{br}", "g"), "\n"));
              }),
              n
            );
          }),
          keys: o,
        };
      },
      getRepeaterRowsAndColumns = function (e, t, r) {
        var n;
        window.$axure.internal(function (e) {
          n = e;
        });
        var o = t;
        void 0 === o
          ? (o = n.repeater.getAllItemIds(e))
          : "object" != typeof o && (o = [o]),
          void 0 === r
            ? (r = getRepeater(e).dataProps)
            : "object" != typeof r && (r = [r]),
          (t = []);
        for (var a = 0, i = o.length; a < i; a++) {
          for (var c = {}, u = 0, s = r.length; u < s; u++) {
            var l = r[u].toLowerCase(),
              d = o[a];
            "string" == typeof d &&
              -1 != d.indexOf("-") &&
              (d = n.repeater.getItemIdFromElementId(d));
            var f = n.repeater.getData({}, e, o[a], l, "data");
            "object" === typeof f
              ? (void 0 === (f = n.deepCopy(f)).type && (f.type = "text"),
                (c[l] = f))
              : (c[l] = { type: "text", text: f });
          }
          t.push(c);
        }
        return { columns: r, rows: t };
      },
      setGlobalVariableValue = function (e, t) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        }),
          r.globalVariableProvider.setVariableValue(e, t, !1);
      },
      getGlobalVariableValue = function (e, t) {
        var r;
        return (
          window.$axure.internal(function (e) {
            r = e;
          }),
          r.globalVariableProvider.getVariableValue(e, t, !1)
        );
      },
      formatNumber = function (e) {
        return !isNaN(e) && e ? Number(e) : e;
      },
      formatValue = function formatValue(str) {
        if ("" !== str && void 0 !== str && null !== str) {
          if ("string" !== typeof str) return str;
          if (!isNaN(str)) return Number(str);
          if (-1 !== ["true", "false"].indexOf(str)) return "true" === str;
          try {
            return JSON.parse(str);
          } catch (error) {}
          if (0 === str.indexOf("function("))
            return eval("(false || " + str + ")");
          var reg = /\[(.+?)\]/g,
            res = reg.exec(str);
          return res
            ? res[1].split(",").map(function (e) {
                return isNaN(e)
                  ? e.replaceAll("'", "").replaceAll('"', "")
                  : Number(e);
              })
            : -1 !== str.indexOf("|")
            ? str.split("|").map(function (e) {
                return isNaN(e) ? e : Number(e);
              })
            : -1 !== str.indexOf(",") && -1 === str.indexOf("rgb")
            ? str.split(",").map(function (e) {
                return isNaN(e) ? e : Number(e);
              })
            : str;
        }
      },
      ensureArray = function (e) {
        return Array.isArray(e) ? e : void 0 === e ? [] : [e];
      },
      axGet = function (e) {
        return new Promise(function (t, r) {
          window.$.ajax({
            type: "GET",
            url: e,
            success: function (e) {
              t(e);
            },
            error: function (e, t) {
              r(t);
            },
          });
        });
      };
    function chartConfigToRepeaterConfig(e) {
      var t = {};
      return (
        (function e(r, n) {
          for (var o in r) {
            var a = r[o],
              i = n ? "".concat(n, ".").concat(o) : o;
            "object" !== typeof a || Array.isArray(a) ? (t[i] = a) : e(a, i);
          }
        })(e, ""),
        t
      );
    }
    var getKeysByData = function (e) {
        return Array.isArray(e)
          ? Object.keys(e[0])
          : e.children
          ? Object.keys(
              (null === e || void 0 === e ? void 0 : e.children[0]) || {}
            )
          : [];
      },
      getCache = function (e) {
        for (
          var t = e + "=",
            r = decodeURIComponent(document.cookie).split(";"),
            n = 0;
          n < r.length;
          n++
        ) {
          for (var o = r[n]; " " === o.charAt(0); ) o = o.substring(1);
          if (0 === o.indexOf(t)) {
            var a = o.substring(t.length, o.length);
            try {
              return JSON.parse(a);
            } catch (i) {
              return a;
            }
          }
        }
        return "";
      },
      convertSVGToCanvas = function (e, t, r) {
        var n = new Blob([e], { type: "image/svg+xml" }),
          o = URL.createObjectURL(n),
          a = document.createElement("canvas");
        (a.width = t), (a.height = r);
        var i = new Image();
        return (
          (i.crossorigin = "anonymous"),
          i.setAttribute("crossorigin", "anonymous"),
          (i.src = o),
          new Promise(function (e, n) {
            (i.onload = function () {
              URL.revokeObjectURL(o);
              var n = a.getContext("2d");
              (n.fillStyle = "rgba(255, 255, 255, 0)"),
                n.fillRect(0, 0, t, r),
                n.drawImage(i, 0, 0, t, r),
                e(a);
            }),
              (i.onerror = function (t) {
                URL.revokeObjectURL(o), console.warn(t), e(null);
              });
          })
        );
      },
      getEditorData = (function () {
        var e = Object(
          D_Axhub_AxhubWeb_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_0__.a
        )(
          _regeneratorRuntime().mark(function e(t, r) {
            var n,
              o,
              a,
              i,
              c,
              u,
              s,
              l,
              d,
              f,
              h,
              p,
              v,
              g,
              m,
              b,
              y,
              w,
              _ = arguments;
            return _regeneratorRuntime().wrap(
              function (e) {
                for (;;)
                  switch ((e.prev = e.next)) {
                    case 0:
                      if (
                        ((c = _.length > 2 && void 0 !== _[2] ? _[2] : ""),
                        (u = window.$),
                        (s =
                          u(t).find("img#".concat(t.id, "_img")).attr("src") ||
                          ""),
                        (l = null),
                        (d = !1),
                        !s.endsWith(".svg") ||
                          window.location.href.startsWith("file://"))
                      ) {
                        e.next = 17;
                        break;
                      }
                      return (e.prev = 6), (e.next = 9), axGet(s);
                    case 9:
                      (f = e.sent),
                        (h = JSON.parse(
                          u(f).find("svg").attr("AxData") ||
                            u(f).find("#config").text() ||
                            "{}"
                        )),
                        r.axhubEditorConfig
                          ? ((null === (p = r.axhubEditorConfig) || void 0 === p
                              ? void 0
                              : p.time) || 0) <
                              ((null === h || void 0 === h ? void 0 : h.time) ||
                                0) && (r.axhubEditorConfig = h)
                          : (r.axhubEditorConfig = h),
                        (e.next = 17);
                      break;
                    case 14:
                      (e.prev = 14), (e.t0 = e.catch(6)), console.error(e.t0);
                    case 17:
                      if (
                        (c &&
                          (v = getGlobalConfig())[c] &&
                          (((null === (g = r.axhubEditorConfig) || void 0 === g
                            ? void 0
                            : g.time) || 0) <
                          ((null === (m = v[c]) || void 0 === m
                            ? void 0
                            : m.time) || 0)
                            ? (r.axhubEditorConfig = Object(
                                _antv_util__WEBPACK_IMPORTED_MODULE_2__.a
                              )(
                                {},
                                (null === (b = r) || void 0 === b
                                  ? void 0
                                  : b.axhubEditorConfig) || {},
                                v[c] || {}
                              ))
                            : (r.axhubEditorConfig = Object(
                                _antv_util__WEBPACK_IMPORTED_MODULE_2__.a
                              )(
                                {},
                                v[c] || {},
                                (null === (y = r) || void 0 === y
                                  ? void 0
                                  : y.axhubEditorConfig) || {}
                              ))),
                        !r.axhubEditorConfig)
                      ) {
                        e.next = 37;
                        break;
                      }
                      (e.t1 = r.configSource),
                        (e.next =
                          "repeater" === e.t1
                            ? 22
                            : "editor" === e.t1
                            ? 23
                            : 25);
                      break;
                    case 22:
                      return e.abrupt("break", 27);
                    case 23:
                      return (
                        (r =
                          (null === (n = r.axhubEditorConfig) || void 0 === n
                            ? void 0
                            : n.config) || {}),
                        e.abrupt("break", 27)
                      );
                    case 25:
                      return (
                        (r = Object(_antv_util__WEBPACK_IMPORTED_MODULE_2__.a)(
                          r,
                          (null === (o = r.axhubEditorConfig) || void 0 === o
                            ? void 0
                            : o.config) || {}
                        )),
                        e.abrupt("break", 27)
                      );
                    case 27:
                      (e.t2 = r.dataSource),
                        (e.next =
                          "repeater" === e.t2
                            ? 30
                            : "editor" === e.t2
                            ? 31
                            : 33);
                      break;
                    case 30:
                      return e.abrupt("break", 35);
                    case 31:
                      return (
                        (l = (null === (a = r.axhubEditorConfig) || void 0 === a
                          ? void 0
                          : a.data) || { data: [], keys: [] }),
                        e.abrupt("break", 35)
                      );
                    case 33:
                      return (
                        (l =
                          (null === (i = r.axhubEditorConfig) || void 0 === i
                            ? void 0
                            : i.data) || l),
                        e.abrupt("break", 35)
                      );
                    case 35:
                      (d = window
                        .atob(
                          (null === (w = r.axhubEditorConfig) || void 0 === w
                            ? void 0
                            : w.u) || ""
                        )
                        .endsWith("b1")),
                        delete r.axhubEditorConfig;
                    case 37:
                      return e.abrupt("return", {
                        config: r,
                        data: l,
                        isEnt: d,
                      });
                    case 38:
                    case "end":
                      return e.stop();
                  }
              },
              e,
              null,
              [[6, 14]]
            );
          })
        );
        return function (t, r) {
          return e.apply(this, arguments);
        };
      })(),
      setPanelStateByName = function (e, t) {
        for (
          var r =
              arguments.length > 2 && void 0 !== arguments[2]
                ? arguments[2]
                : {},
            n = arguments.length > 3 && void 0 !== arguments[3] && arguments[3],
            o = function (e) {
              for (var t = [], r = 1; ; r++) {
                var n = $("#" + e + "_state" + (r - 1));
                if (!n.length) break;
                var o = n.attr("data-label");
                (t[r] = o), (t[o] = r);
              }
              return t;
            },
            a = 0;
          a < e.length;
          a++
        ) {
          var i = e[a],
            c = o(i)[t];
          c && window.$axure("#" + i).SetPanelState(c, r, n);
        }
      };
    function randomString(e) {
      e = e || 32;
      for (
        var t = "ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678",
          r = t.length,
          n = "",
          o = 0;
        o < e;
        o++
      )
        n += t.charAt(Math.floor(Math.random() * r));
      return n;
    }
    var raiseEvent = function (e, t) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        }),
          r.initializeObjectEvents(
            r(function (t, r) {
              return r === e;
            })
          ),
          r.event.raiseSyntheticEvent(e, t);
      },
      addToRepeater = function (e, t) {
        var r;
        window.$axure.internal(function (e) {
          r = e;
        }),
          r.repeater.addItem(e, t, r.getEventInfoFromEvent(null, !1, e)),
          r.repeater.refreshRepeater(e);
      };
  },
  19: function (e, t, r) {
    "use strict";
    function n(e, t, r, n, o, a, i) {
      try {
        var c = e[a](i),
          u = c.value;
      } catch (s) {
        return void r(s);
      }
      c.done ? t(u) : Promise.resolve(u).then(n, o);
    }
    function o(e) {
      return function () {
        var t = this,
          r = arguments;
        return new Promise(function (o, a) {
          var i = e.apply(t, r);
          function c(e) {
            n(i, o, a, c, u, "next", e);
          }
          function u(e) {
            n(i, o, a, c, u, "throw", e);
          }
          c(void 0);
        });
      };
    }
    r.d(t, "a", function () {
      return o;
    });
  },
  366: function (e, t, r) {
    e.exports = r(367);
  },
  367: function (e, t, r) {
    "use strict";
    r.r(t);
    var n = r(19),
      o = r(105),
      a = r(46),
      i = r(11);
    function c() {
      c = function () {
        return t;
      };
      var e,
        t = {},
        r = Object.prototype,
        n = r.hasOwnProperty,
        o =
          Object.defineProperty ||
          function (e, t, r) {
            e[t] = r.value;
          },
        a = "function" == typeof Symbol ? Symbol : {},
        i = a.iterator || "@@iterator",
        u = a.asyncIterator || "@@asyncIterator",
        s = a.toStringTag || "@@toStringTag";
      function l(e, t, r) {
        return (
          Object.defineProperty(e, t, {
            value: r,
            enumerable: !0,
            configurable: !0,
            writable: !0,
          }),
          e[t]
        );
      }
      try {
        l({}, "");
      } catch (e) {
        l = function (e, t, r) {
          return (e[t] = r);
        };
      }
      function d(e, t, r, n) {
        var a = t && t.prototype instanceof m ? t : m,
          i = Object.create(a.prototype),
          c = new L(n || []);
        return o(i, "_invoke", { value: C(e, r, c) }), i;
      }
      function f(e, t, r) {
        try {
          return { type: "normal", arg: e.call(t, r) };
        } catch (e) {
          return { type: "throw", arg: e };
        }
      }
      t.wrap = d;
      var h = "suspendedStart",
        p = "executing",
        v = "completed",
        g = {};
      function m() {}
      function b() {}
      function y() {}
      var w = {};
      l(w, i, function () {
        return this;
      });
      var _ = Object.getPrototypeOf,
        k = _ && _(_(R([])));
      k && k !== r && n.call(k, i) && (w = k);
      var E = (y.prototype = m.prototype = Object.create(w));
      function S(e) {
        ["next", "throw", "return"].forEach(function (t) {
          l(e, t, function (e) {
            return this._invoke(t, e);
          });
        });
      }
      function x(e, t) {
        function r(o, a, i, c) {
          var u = f(e[o], e, a);
          if ("throw" !== u.type) {
            var s = u.arg,
              l = s.value;
            return l && "object" == typeof l && n.call(l, "__await")
              ? t.resolve(l.__await).then(
                  function (e) {
                    r("next", e, i, c);
                  },
                  function (e) {
                    r("throw", e, i, c);
                  }
                )
              : t.resolve(l).then(
                  function (e) {
                    (s.value = e), i(s);
                  },
                  function (e) {
                    return r("throw", e, i, c);
                  }
                );
          }
          c(u.arg);
        }
        var a;
        o(this, "_invoke", {
          value: function (e, n) {
            function o() {
              return new t(function (t, o) {
                r(e, n, t, o);
              });
            }
            return (a = a ? a.then(o, o) : o());
          },
        });
      }
      function C(t, r, n) {
        var o = h;
        return function (a, i) {
          if (o === p) throw new Error("Generator is already running");
          if (o === v) {
            if ("throw" === a) throw i;
            return { value: e, done: !0 };
          }
          for (n.method = a, n.arg = i; ; ) {
            var c = n.delegate;
            if (c) {
              var u = O(c, n);
              if (u) {
                if (u === g) continue;
                return u;
              }
            }
            if ("next" === n.method) n.sent = n._sent = n.arg;
            else if ("throw" === n.method) {
              if (o === h) throw ((o = v), n.arg);
              n.dispatchException(n.arg);
            } else "return" === n.method && n.abrupt("return", n.arg);
            o = p;
            var s = f(t, r, n);
            if ("normal" === s.type) {
              if (((o = n.done ? v : "suspendedYield"), s.arg === g)) continue;
              return { value: s.arg, done: n.done };
            }
            "throw" === s.type &&
              ((o = v), (n.method = "throw"), (n.arg = s.arg));
          }
        };
      }
      function O(t, r) {
        var n = r.method,
          o = t.iterator[n];
        if (o === e)
          return (
            (r.delegate = null),
            ("throw" === n &&
              t.iterator.return &&
              ((r.method = "return"),
              (r.arg = e),
              O(t, r),
              "throw" === r.method)) ||
              ("return" !== n &&
                ((r.method = "throw"),
                (r.arg = new TypeError(
                  "The iterator does not provide a '" + n + "' method"
                )))),
            g
          );
        var a = f(o, t.iterator, r.arg);
        if ("throw" === a.type)
          return (r.method = "throw"), (r.arg = a.arg), (r.delegate = null), g;
        var i = a.arg;
        return i
          ? i.done
            ? ((r[t.resultName] = i.value),
              (r.next = t.nextLoc),
              "return" !== r.method && ((r.method = "next"), (r.arg = e)),
              (r.delegate = null),
              g)
            : i
          : ((r.method = "throw"),
            (r.arg = new TypeError("iterator result is not an object")),
            (r.delegate = null),
            g);
      }
      function T(e) {
        var t = { tryLoc: e[0] };
        1 in e && (t.catchLoc = e[1]),
          2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])),
          this.tryEntries.push(t);
      }
      function A(e) {
        var t = e.completion || {};
        (t.type = "normal"), delete t.arg, (e.completion = t);
      }
      function L(e) {
        (this.tryEntries = [{ tryLoc: "root" }]),
          e.forEach(T, this),
          this.reset(!0);
      }
      function R(t) {
        if (t || "" === t) {
          var r = t[i];
          if (r) return r.call(t);
          if ("function" == typeof t.next) return t;
          if (!isNaN(t.length)) {
            var o = -1,
              a = function r() {
                for (; ++o < t.length; )
                  if (n.call(t, o)) return (r.value = t[o]), (r.done = !1), r;
                return (r.value = e), (r.done = !0), r;
              };
            return (a.next = a);
          }
        }
        throw new TypeError(typeof t + " is not iterable");
      }
      return (
        (b.prototype = y),
        o(E, "constructor", { value: y, configurable: !0 }),
        o(y, "constructor", { value: b, configurable: !0 }),
        (b.displayName = l(y, s, "GeneratorFunction")),
        (t.isGeneratorFunction = function (e) {
          var t = "function" == typeof e && e.constructor;
          return (
            !!t &&
            (t === b || "GeneratorFunction" === (t.displayName || t.name))
          );
        }),
        (t.mark = function (e) {
          return (
            Object.setPrototypeOf
              ? Object.setPrototypeOf(e, y)
              : ((e.__proto__ = y), l(e, s, "GeneratorFunction")),
            (e.prototype = Object.create(E)),
            e
          );
        }),
        (t.awrap = function (e) {
          return { __await: e };
        }),
        S(x.prototype),
        l(x.prototype, u, function () {
          return this;
        }),
        (t.AsyncIterator = x),
        (t.async = function (e, r, n, o, a) {
          void 0 === a && (a = Promise);
          var i = new x(d(e, r, n, o), a);
          return t.isGeneratorFunction(r)
            ? i
            : i.next().then(function (e) {
                return e.done ? e.value : i.next();
              });
        }),
        S(E),
        l(E, s, "Generator"),
        l(E, i, function () {
          return this;
        }),
        l(E, "toString", function () {
          return "[object Generator]";
        }),
        (t.keys = function (e) {
          var t = Object(e),
            r = [];
          for (var n in t) r.push(n);
          return (
            r.reverse(),
            function e() {
              for (; r.length; ) {
                var n = r.pop();
                if (n in t) return (e.value = n), (e.done = !1), e;
              }
              return (e.done = !0), e;
            }
          );
        }),
        (t.values = R),
        (L.prototype = {
          constructor: L,
          reset: function (t) {
            if (
              ((this.prev = 0),
              (this.next = 0),
              (this.sent = this._sent = e),
              (this.done = !1),
              (this.delegate = null),
              (this.method = "next"),
              (this.arg = e),
              this.tryEntries.forEach(A),
              !t)
            )
              for (var r in this)
                "t" === r.charAt(0) &&
                  n.call(this, r) &&
                  !isNaN(+r.slice(1)) &&
                  (this[r] = e);
          },
          stop: function () {
            this.done = !0;
            var e = this.tryEntries[0].completion;
            if ("throw" === e.type) throw e.arg;
            return this.rval;
          },
          dispatchException: function (t) {
            if (this.done) throw t;
            var r = this;
            function o(n, o) {
              return (
                (c.type = "throw"),
                (c.arg = t),
                (r.next = n),
                o && ((r.method = "next"), (r.arg = e)),
                !!o
              );
            }
            for (var a = this.tryEntries.length - 1; a >= 0; --a) {
              var i = this.tryEntries[a],
                c = i.completion;
              if ("root" === i.tryLoc) return o("end");
              if (i.tryLoc <= this.prev) {
                var u = n.call(i, "catchLoc"),
                  s = n.call(i, "finallyLoc");
                if (u && s) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                } else if (u) {
                  if (this.prev < i.catchLoc) return o(i.catchLoc, !0);
                } else {
                  if (!s)
                    throw new Error("try statement without catch or finally");
                  if (this.prev < i.finallyLoc) return o(i.finallyLoc);
                }
              }
            }
          },
          abrupt: function (e, t) {
            for (var r = this.tryEntries.length - 1; r >= 0; --r) {
              var o = this.tryEntries[r];
              if (
                o.tryLoc <= this.prev &&
                n.call(o, "finallyLoc") &&
                this.prev < o.finallyLoc
              ) {
                var a = o;
                break;
              }
            }
            a &&
              ("break" === e || "continue" === e) &&
              a.tryLoc <= t &&
              t <= a.finallyLoc &&
              (a = null);
            var i = a ? a.completion : {};
            return (
              (i.type = e),
              (i.arg = t),
              a
                ? ((this.method = "next"), (this.next = a.finallyLoc), g)
                : this.complete(i)
            );
          },
          complete: function (e, t) {
            if ("throw" === e.type) throw e.arg;
            return (
              "break" === e.type || "continue" === e.type
                ? (this.next = e.arg)
                : "return" === e.type
                ? ((this.rval = this.arg = e.arg),
                  (this.method = "return"),
                  (this.next = "end"))
                : "normal" === e.type && t && (this.next = t),
              g
            );
          },
          finish: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.finallyLoc === e)
                return this.complete(r.completion, r.afterLoc), A(r), g;
            }
          },
          catch: function (e) {
            for (var t = this.tryEntries.length - 1; t >= 0; --t) {
              var r = this.tryEntries[t];
              if (r.tryLoc === e) {
                var n = r.completion;
                if ("throw" === n.type) {
                  var o = n.arg;
                  A(r);
                }
                return o;
              }
            }
            throw new Error("illegal catch attempt");
          },
          delegateYield: function (t, r, n) {
            return (
              (this.delegate = { iterator: R(t), resultName: r, nextLoc: n }),
              "next" === this.method && (this.arg = e),
              g
            );
          },
        }),
        t
      );
    }
    var u = window,
      s = u.$axure,
      l = u.$,
      d = { "\u7f16\u8f91\u5668\u914d\u7f6e": "axhubEditorConfig" };
    s("@axhub-dark")
      .$()
      .map(
        (function () {
          var e = Object(n.a)(
            c().mark(function e(t, r) {
              var u, s, f, h, p;
              return c().wrap(
                function (e) {
                  for (;;)
                    switch ((e.prev = e.next)) {
                      case 0:
                        return (
                          (e.prev = 0),
                          (u =
                            l(r)
                              .parent()
                              .find('[data-label="axhub-config"]')
                              .attr("id") || ""),
                          (s = u ? Object(i.d)(u, d) : {}),
                          (e.next = 5),
                          Object(i.f)(r, s)
                        );
                      case 5:
                        (f = e.sent),
                          ((s = f.config || s).axID =
                            s.axID || r.id + Object(i.i)(12)),
                          Object(o.setFetchMethod)(window.fetch),
                          (window.axDark = window.axDark = {}),
                          (window.axDark.enable = function () {
                            Object(o.auto)(!1),
                              Object(o.enable)({
                                brightness: s.brightness || 100,
                                contrast: s.contrast || 90,
                                grayscale: s.grayscale || 0,
                                sepia: s.sepia || 10,
                              });
                          }),
                          (window.axDark.disable = function () {
                            Object(o.auto)(!1), Object(o.disable)();
                          }),
                          (window.axDark.auto = function () {
                            Object(o.auto)({
                              brightness: s.brightness || 100,
                              contrast: s.contrast || 90,
                              grayscale: s.grayscale || 0,
                              sepia: s.sepia || 10,
                            });
                          }),
                          (h = function () {
                            s.theme && "dark" !== s.theme
                              ? "normal" === s.theme
                                ? window.axDark.disable()
                                : "system" === s.theme && window.axDark.auto()
                              : window.axDark.enable();
                          })(),
                          -1 !== window.location.host.indexOf("127.0.0.1") &&
                            ((p = function () {
                              var e, t, r, n, o;
                              return {
                                config: {
                                  type: "collapse",
                                  children: [
                                    {
                                      type: "collapse-panel",
                                      displayName: "\u57fa\u7840\u914d\u7f6e",
                                      attributeId: "baseConfig",
                                      children: [
                                        {
                                          type: "select",
                                          displayName:
                                            "\u9ed8\u8ba4\u4e3b\u9898",
                                          attributeId: "theme",
                                          initialValue:
                                            null !== (e = s.theme) &&
                                            void 0 !== e
                                              ? e
                                              : "dark",
                                          options: [
                                            {
                                              value: "dark",
                                              label: "\u6697\u8272",
                                            },
                                            {
                                              value: "normal",
                                              label: "\u9ed8\u8ba4",
                                            },
                                            {
                                              value: "system",
                                              label: "\u8ddf\u968f\u7cfb\u7edf",
                                            },
                                          ],
                                        },
                                        {
                                          type: "input-number",
                                          displayName: "\u4eae\u5ea6",
                                          attributeId: "brightness",
                                          initialValue:
                                            null !== (t = s.brightness) &&
                                            void 0 !== t
                                              ? t
                                              : 100,
                                        },
                                        {
                                          type: "input-number",
                                          displayName: "\u5bf9\u6bd4\u5ea6",
                                          attributeId: "contrast",
                                          initialValue:
                                            null !== (r = s.contrast) &&
                                            void 0 !== r
                                              ? r
                                              : 90,
                                        },
                                        {
                                          type: "input-number",
                                          displayName:
                                            "\u68d5\u8910\u8272\u6ee4\u955c",
                                          attributeId: "sepia",
                                          initialValue:
                                            null !== (n = s.sepia) &&
                                            void 0 !== n
                                              ? n
                                              : 10,
                                        },
                                        {
                                          type: "input-number",
                                          displayName: "\u7070\u5ea6",
                                          attributeId: "grayscale",
                                          initialValue:
                                            null !== (o = s.grayscale) &&
                                            void 0 !== o
                                              ? o
                                              : 0,
                                        },
                                      ],
                                    },
                                    {
                                      type: "collapse-panel",
                                      displayName: "\u4ea4\u4e92\u65b9\u6cd5",
                                      attributeId: "actionConfig",
                                      children: [
                                        {
                                          type: "group",
                                          displayName: "\u5f00\u542f",
                                          info: "\u5f00\u542f\u6697\u9ed1\u6a21\u5f0f, \u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1",
                                          children: [
                                            {
                                              type: "text",
                                              attributeId: "enable",
                                              copyable: !0,
                                              initialValue:
                                                "javascript:axDark.enable()",
                                              maxWidth: "100%",
                                            },
                                          ],
                                        },
                                        {
                                          type: "group",
                                          displayName: "\u5173\u95ed",
                                          info: "\u5173\u95ed\u6697\u9ed1\u6a21\u5f0f, \u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1",
                                          children: [
                                            {
                                              type: "text",
                                              attributeId: "disable",
                                              copyable: !0,
                                              initialValue:
                                                "javascript:axDark.disable()",
                                              maxWidth: "100%",
                                            },
                                          ],
                                        },
                                        {
                                          type: "group",
                                          displayName:
                                            "\u8ddf\u968f\u7cfb\u7edf",
                                          info: "\u8ddf\u968f\u7cfb\u7edf\u4e3b\u9898, \u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1",
                                          children: [
                                            {
                                              type: "text",
                                              attributeId: "auto",
                                              copyable: !0,
                                              initialValue:
                                                "javascript:axDark.auto()",
                                              maxWidth: "100%",
                                            },
                                          ],
                                        },
                                      ],
                                    },
                                  ],
                                },
                              };
                            }),
                            l(r).click(
                              (function () {
                                var e = Object(n.a)(
                                  c().mark(function e(t) {
                                    var n;
                                    return c().wrap(function (e) {
                                      for (;;)
                                        switch ((e.prev = e.next)) {
                                          case 0:
                                            if (!t.altKey) {
                                              e.next = 5;
                                              break;
                                            }
                                            if (window.openAxhubEditor) {
                                              e.next = 4;
                                              break;
                                            }
                                            return (
                                              (e.next = 4),
                                              Object(i.g)(
                                                (null === (n = s) ||
                                                void 0 === n
                                                  ? void 0
                                                  : n.AxhubEditorUrl) ||
                                                  "https://static.axhub.cn/charts/editor-v1.5.js"
                                              )
                                            );
                                          case 4:
                                            window.openAxhubEditor({
                                              element: {
                                                right: ["t1", "b2", "u1"],
                                                lib: "theme",
                                                container: r,
                                              },
                                              attributesConfig: p(),
                                              onConfigChange: function (e) {
                                                return (
                                                  Object(a.a)(s, e), h(), p()
                                                );
                                              },
                                              getConfig: function () {
                                                return s;
                                              },
                                            });
                                          case 5:
                                          case "end":
                                            return e.stop();
                                        }
                                    }, e);
                                  })
                                );
                                return function (t) {
                                  return e.apply(this, arguments);
                                };
                              })()
                            )),
                          (e.next = 21);
                        break;
                      case 18:
                        (e.prev = 18),
                          (e.t0 = e.catch(0)),
                          console.error(
                            "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
                            e.t0
                          );
                      case 21:
                      case "end":
                        return e.stop();
                    }
                },
                e,
                null,
                [[0, 18]]
              );
            })
          );
          return function (t, r) {
            return e.apply(this, arguments);
          };
        })()
      ),
      s("@axhub-theme")
        .$()
        .map(
          (function () {
            var e = Object(n.a)(
              c().mark(function e(t, r) {
                var o, a, u, s, f, h;
                return c().wrap(
                  function (e) {
                    for (;;)
                      switch ((e.prev = e.next)) {
                        case 0:
                          return (
                            (e.prev = 0),
                            (o =
                              l(r)
                                .parent()
                                .find('[data-label="axhub-config"]')
                                .attr("id") || ""),
                            (a = "\u9ed8\u8ba4"),
                            (u = o ? Object(i.d)(o, d) : {}),
                            (e.next = 6),
                            Object(i.f)(r, u)
                          );
                        case 6:
                          (s = e.sent),
                            (u = s.config || u),
                            (f = s.data || {
                              data: [],
                              keys: ["\u9ed8\u8ba4"],
                            }),
                            (u.axID = u.axID || r.id + Object(i.i)(6)),
                            (window.axTheme = window.axTheme = {}),
                            (window.axTheme.change = function (e) {
                              f.data.map(function (t) {
                                t[a] && t[e] && l("*").replaceColor(t[a], t[e]);
                              }),
                                (a = e);
                            }),
                            -1 !== window.location.host.indexOf("127.0.0.1") &&
                              ((h = function (e) {
                                var t = [];
                                return (
                                  e.keys.map(function (e) {
                                    t.push({
                                      type: "group",
                                      displayName: "\u5207\u6362\u5230".concat(
                                        e
                                      ),
                                      info: "\u5207\u6362\u4e3b\u9898\u8272, \u901a\u8fc7 Axure \u6253\u5f00\u6307\u5b9a\u94fe\u63a5\u4e8b\u4ef6\u53ef\u89e6\u53d1",
                                      children: [
                                        {
                                          type: "text",
                                          attributeId: "enable",
                                          copyable: !0,
                                          initialValue:
                                            "javascript:axTheme.change('".concat(
                                              e,
                                              "')"
                                            ),
                                          maxWidth: "100%",
                                        },
                                      ],
                                    });
                                  }),
                                  {
                                    config: {
                                      type: "collapse",
                                      children: [
                                        {
                                          type: "collapse-panel",
                                          displayName:
                                            "\u5207\u6362\u4e3b\u9898\u8272\u7684\u65b9\u6cd5",
                                          attributeId: "baseConfig",
                                          children: t,
                                        },
                                      ],
                                    },
                                  }
                                );
                              }),
                              l(r).click(
                                (function () {
                                  var e = Object(n.a)(
                                    c().mark(function e(t) {
                                      var n;
                                      return c().wrap(function (e) {
                                        for (;;)
                                          switch ((e.prev = e.next)) {
                                            case 0:
                                              if (!t.altKey) {
                                                e.next = 5;
                                                break;
                                              }
                                              if (window.openAxhubEditor) {
                                                e.next = 4;
                                                break;
                                              }
                                              return (
                                                (e.next = 4),
                                                Object(i.g)(
                                                  (null === (n = u) ||
                                                  void 0 === n
                                                    ? void 0
                                                    : n.AxhubEditorUrl) ||
                                                    "https://static.axhub.cn/charts/editor-v1.5.js"
                                                )
                                              );
                                            case 4:
                                              window.openAxhubEditor({
                                                element: {
                                                  right: ["t1", "b2", "u1"],
                                                  lib: "theme",
                                                  container: r,
                                                },
                                                attributesConfig: h(f),
                                                onConfigChange: function () {
                                                  return h(f);
                                                },
                                                onDataChange: function (e) {
                                                  return (
                                                    (f.data = e.data),
                                                    (f.keys = Object.keys(
                                                      f.data[0]
                                                    )),
                                                    h(f)
                                                  );
                                                },
                                                getConfig: function () {
                                                  return u;
                                                },
                                                getData: function () {
                                                  return f;
                                                },
                                              });
                                            case 5:
                                            case "end":
                                              return e.stop();
                                          }
                                      }, e);
                                    })
                                  );
                                  return function (t) {
                                    return e.apply(this, arguments);
                                  };
                                })()
                              )),
                            (e.next = 18);
                          break;
                        case 15:
                          (e.prev = 15),
                            (e.t0 = e.catch(0)),
                            console.error(
                              "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
                              e.t0
                            );
                        case 18:
                        case "end":
                          return e.stop();
                      }
                  },
                  e,
                  null,
                  [[0, 15]]
                );
              })
            );
            return function (t, r) {
              return e.apply(this, arguments);
            };
          })()
        ),
      s("@axhub-lite-dark")
        .$()
        .map(
          (function () {
            var e = Object(n.a)(
              c().mark(function e(t, r) {
                return c().wrap(function (e) {
                  for (;;)
                    switch ((e.prev = e.next)) {
                      case 0:
                        try {
                          Object(o.setFetchMethod)(window.fetch),
                            Object(o.enable)({
                              brightness: 100,
                              contrast: 90,
                              grayscale: 0,
                              sepia: 10,
                            });
                        } catch (t) {
                          console.error(
                            "\u6e32\u67d3\u9047\u5230\u9ebb\u70e6\u5566\uff1a",
                            t
                          );
                        }
                      case 1:
                      case "end":
                        return e.stop();
                    }
                }, e);
              })
            );
            return function (t, r) {
              return e.apply(this, arguments);
            };
          })()
        ),
      (function (e) {
        e.fn.replaceColor = function (t, r) {
          var n = (function (t) {
            var r = e("<div>").css("color", t),
              n = r.css("color");
            return r.remove(), n;
          })(t);
          this.each(function () {
            var t = e(this),
              o = window.getComputedStyle(this);
            Object.keys(o).forEach(function (e) {
              var a = o[e];
              "string" === typeof a &&
                a.includes(n) &&
                t.css(e, a.replace(n, r));
            });
          });
        };
      })(window.jQuery);
  },
  38: function (e, t, r) {
    "use strict";
    var n = {}.toString;
    t.a = function (e, t) {
      return n.call(e) === "[object " + t + "]";
    };
  },
  46: function (e, t, r) {
    "use strict";
    var n = r(62),
      o = function (e) {
        return "object" === typeof e && null !== e;
      },
      a = r(38),
      i = function (e) {
        if (!o(e) || !Object(a.a)(e, "Object")) return !1;
        if (null === Object.getPrototypeOf(e)) return !0;
        for (var t = e; null !== Object.getPrototypeOf(t); )
          t = Object.getPrototypeOf(t);
        return Object.getPrototypeOf(e) === t;
      };
    function c(e, t) {
      if (Object.hasOwn) return Object.hasOwn(e, t);
      if (null == e)
        throw new TypeError("Cannot convert undefined or null to object");
      return Object.prototype.hasOwnProperty.call(Object(e), t);
    }
    function u(e, t, r, o) {
      for (var a in ((r = r || 0), (o = o || 5), t))
        if (c(t, a)) {
          var s = t[a];
          null !== s && i(s)
            ? (i(e[a]) || (e[a] = {}),
              r < o ? u(e[a], s, r + 1, o) : (e[a] = t[a]))
            : Object(n.a)(s)
            ? ((e[a] = []), (e[a] = e[a].concat(s)))
            : void 0 !== s && (e[a] = s);
        }
    }
    t.a = function (e) {
      for (var t = [], r = 1; r < arguments.length; r++)
        t[r - 1] = arguments[r];
      for (var n = 0; n < t.length; n += 1) u(e, t[n]);
      return e;
    };
  },
  61: function (e, t, r) {
    var n, o, a;
    (a = function () {
      var e,
        t,
        r = document,
        n = r.getElementsByTagName("head")[0],
        o = {},
        a = {},
        i = {},
        c = {};
      function u(e, t) {
        for (var r = 0, n = e.length; r < n; ++r) if (!t(e[r])) return !1;
        return 1;
      }
      function s(e, t) {
        u(e, function (e) {
          return t(e), 1;
        });
      }
      function l(t, r, n) {
        t = t.push ? t : [t];
        var f = r && r.call,
          h = f ? r : n,
          p = f ? t.join("") : r,
          v = t.length;
        function g(e) {
          return e.call ? e() : o[e];
        }
        function m() {
          if (!--v)
            for (var e in ((o[p] = 1), h && h(), i))
              u(e.split("|"), g) && !s(i[e], g) && (i[e] = []);
        }
        return (
          setTimeout(function () {
            s(t, function t(r, n) {
              return null === r
                ? m()
                : (n ||
                    /^https?:\/\//.test(r) ||
                    !e ||
                    (r = -1 === r.indexOf(".js") ? e + r + ".js" : e + r),
                  c[r]
                    ? (p && (a[p] = 1),
                      2 == c[r]
                        ? m()
                        : setTimeout(function () {
                            t(r, !0);
                          }, 0))
                    : ((c[r] = 1), p && (a[p] = 1), void d(r, m)));
            });
          }, 0),
          l
        );
      }
      function d(e, o) {
        var a,
          i = r.createElement("script");
        (i.onload =
          i.onerror =
          i.onreadystatechange =
            function () {
              (i.readyState && !/^c|loade/.test(i.readyState)) ||
                a ||
                ((i.onload = i.onreadystatechange = null),
                (a = 1),
                (c[e] = 2),
                o());
            }),
          (i.async = 1),
          (i.src = t ? e + (-1 === e.indexOf("?") ? "?" : "&") + t : e),
          n.insertBefore(i, n.lastChild);
      }
      return (
        (l.get = d),
        (l.order = function (e, t, r) {
          !(function n(o) {
            (o = e.shift()), e.length ? l(o, n) : l(o, t, r);
          })();
        }),
        (l.path = function (t) {
          e = t;
        }),
        (l.urlArgs = function (e) {
          t = e;
        }),
        (l.ready = function (e, t, r) {
          e = e.push ? e : [e];
          var n,
            a = [];
          return (
            !s(e, function (e) {
              o[e] || a.push(e);
            }) &&
            u(e, function (e) {
              return o[e];
            })
              ? t()
              : ((n = e.join("|")),
                (i[n] = i[n] || []),
                i[n].push(t),
                r && r(a)),
            l
          );
        }),
        (l.done = function (e) {
          l([null], e);
        }),
        l
      );
    }),
      e.exports
        ? (e.exports = a())
        : void 0 ===
            (o = "function" === typeof (n = a) ? n.call(t, r, t, e) : n) ||
          (e.exports = o);
  },
  62: function (e, t, r) {
    "use strict";
    var n = r(38);
    t.a = function (e) {
      return Array.isArray ? Array.isArray(e) : Object(n.a)(e, "Array");
    };
  },
});
